From: Harald Hoyer Date: Wed, 17 Jul 2013 12:35:35 +0000 (+0200) Subject: dracut: do not enable early microcode inclusion by default X-Git-Tag: 030~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5bbfd48475abff52bbf43b3e97125e9f5394a60a;p=thirdparty%2Fdracut.git dracut: do not enable early microcode inclusion by default --- diff --git a/dracut-bash-completion.sh b/dracut-bash-completion.sh index ae33b3ec1..0f45f16e1 100644 --- a/dracut-bash-completion.sh +++ b/dracut-bash-completion.sh @@ -33,7 +33,8 @@ _dracut() { --lvmconf --nolvmconf --debug --profile --verbose --quiet --local --hostonly --no-hostonly --fstab --help --bzip2 --lzma --xz --no-compress --gzip --list-modules --show-modules --keep - --printsize --regenerate-all --noimageifnotneeded' + --printsize --regenerate-all --noimageifnotneeded --early-microcode + --no-early-microcode' [ARG]='-a -m -o -d -I -k -c -L --kver --add --force-add --add-drivers --omit-drivers --modules --omit --drivers --filesystems --install diff --git a/dracut.sh b/dracut.sh index 477a85a4f..f2a680cb2 100755 --- a/dracut.sh +++ b/dracut.sh @@ -91,6 +91,7 @@ Creates initial ramdisk images for preloading modules firmwares, separated by : --kernel-only Only install kernel drivers and firmware files --no-kernel Do not install kernel drivers and firmware files + --early-microcode Combine early microcode with ramdisk --no-early-microcode Do not combine early microcode with ramdisk --kernel-cmdline [PARAMETERS] Specify default kernel command line parameters --strip Strip binaries in the initramfs @@ -379,6 +380,7 @@ while :; do -f|--force) force=yes;; --kernel-only) kernel_only="yes"; no_kernel="no";; --no-kernel) kernel_only="no"; no_kernel="yes";; + --early-microcode) early_microcode="yes";; --no-early-microcode) early_microcode="no";; --strip) do_strip_l="yes";; --nostrip) do_strip_l="no";; @@ -648,7 +650,6 @@ stdloglvl=$((stdloglvl + verbosity_mod_l)) [[ $show_modules_l ]] && show_modules=$show_modules_l [[ $nofscks_l ]] && nofscks="yes" [[ $ro_mnt_l ]] && ro_mnt="yes" -[[ ! $early_microcode ]] && early_microcode="yes" # eliminate IFS hackery when messing with fw_dir fw_dir=${fw_dir//:/ }