From b25ef46f939ee3f806e83e74881ef8c19aa4a2bf Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Tue, 9 Jan 2018 19:07:36 +0000 Subject: [PATCH] Enable 'early_microcode' by default 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 Signed-off-by: Neal Gompa --- dracut.conf.5.asc | 2 +- dracut.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dracut.conf.5.asc b/dracut.conf.5.asc index 6e8f3eba..ecaf35c8 100644 --- a/dracut.conf.5.asc +++ b/dracut.conf.5.asc @@ -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. diff --git a/dracut.sh b/dracut.sh index fb23f117..8b0465df 100755 --- 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"