]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Enable 'early_microcode' by default 365/head
authorThomas Backlund <tmb@mageia.org>
Tue, 9 Jan 2018 19:07:36 +0000 (19:07 +0000)
committerNeal Gompa <ngompa13@gmail.com>
Thu, 18 Jan 2018 10:30:28 +0000 (05:30 -0500)
We initially enabled it for Haswell TSX bug (mga#16657)

Now there is also Meltdown and Spectre security issues,
and more microcode issues will most likely show up...

So the sane default for 'early_microcode' to have it enabled,
as theese changes must be done early in boot process to take
effect as intended.

Update documentation accordingly.

Reference: https://bugs.mageia.org/show_bug.cgi?id=16657

Signed-off-by: Thomas Backlund <tmb@mageia.org>
Signed-off-by: Neal Gompa <ngompa13@gmail.com>
dracut.conf.5.asc
dracut.sh

index 6e8f3ebaa43b7e70e7e35ee710b9207e667b64c3..ecaf35c8d56de8c635b2ce08651aba7760aa5a48 100644 (file)
@@ -167,7 +167,7 @@ provide a valid _/etc/fstab_.
     Directory to search for ACPI tables if acpi_override= is set to yes.
 
 *early_microcode=*"{yes|no}"::
-    Combine early microcode with ramdisk (default=no)
+    Combine early microcode with ramdisk (default=yes)
 
 *stdloglvl*="__\{0-6\}__"::
     Set logging to standard error level.
index fb23f1174fc1e600d5c492dc72d1753fc519d30a..8b0465dfb66fd55348f8e90edc662e787b19f9a1 100755 (executable)
--- a/dracut.sh
+++ b/dracut.sh
@@ -748,7 +748,7 @@ stdloglvl=$((stdloglvl + verbosity_mod_l))
 [[ $nofscks_l ]] && nofscks="yes"
 [[ $ro_mnt_l ]] && ro_mnt="yes"
 [[ $early_microcode_l ]] && early_microcode=$early_microcode_l
-[[ $early_microcode ]] || early_microcode=no
+[[ $early_microcode ]] || early_microcode=yes
 [[ $logfile_l ]] && logfile="$logfile_l"
 [[ $reproducible_l ]] && reproducible="$reproducible_l"
 [[ $loginstall_l ]] && loginstall="$loginstall_l"