View | Details | Raw Unified | Return to bug 48193
Collapse All | Expand All

(-)a/envycontrol.py (+3 lines)
Lines 466-471 def rebuild_initramfs(): Link Here
466
    # Debian and Ubuntu derivatives
466
    # Debian and Ubuntu derivatives
467
    if os.path.exists('/etc/debian_version'):
467
    if os.path.exists('/etc/debian_version'):
468
        command = ['update-initramfs', '-u', '-k', 'all']
468
        command = ['update-initramfs', '-u', '-k', 'all']
469
    # ALT Linux
470
    elif os.path.exists('/etc/altlinux-release'):
471
        command = ['make-initrd']
469
    # RHEL and SUSE derivatives
472
    # RHEL and SUSE derivatives
470
    elif os.path.exists('/etc/redhat-release') or os.path.exists('/usr/bin/zypper'):
473
    elif os.path.exists('/etc/redhat-release') or os.path.exists('/usr/bin/zypper'):
471
        command = ['dracut', '--force', '--regenerate-all']
474
        command = ['dracut', '--force', '--regenerate-all']

Return to bug 48193