diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2018-08-04 16:19:46 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2018-08-04 16:25:31 -0700 |
commit | febc1b12b5b393e918da94b9f1c029f2adcea215 (patch) | |
tree | c1f2282171b55da54994072469ccb041c87c269e /genkernel.conf | |
parent | linuxrc: Add detection of squashfs in initrd root (diff) | |
download | genkernel-febc1b12b5b393e918da94b9f1c029f2adcea215.tar.gz genkernel-febc1b12b5b393e918da94b9f1c029f2adcea215.tar.bz2 genkernel-febc1b12b5b393e918da94b9f1c029f2adcea215.zip |
microcode: add flexability: type & initramfs control
Bug reported that the MICROCODE option did not provide enough
flexability, as it enabled both AMD & Intel options by default, and
placed both sets of microcode into the initramfs.
Existing boolean option MICROCODE is now a string, which takes
no/all/amd/intel as inputs, describing which variant of kernel options
to enable. Boolean inputs are converted to no/all settings. This option
no longer include microcode in initramfs.
New option MICROCODE_INITRAMFS, enabled by default, includes the
microcode for matching kernel config options (INTEL/AMD) into the
initramfs. For users using sys-boot/grub-2.02-r1 or another bootloader
that supports multiple initramfs options, this option can be safely
disabled.
Fixes: https://bugs.gentoo.org/662492
Reported-by: Joerg Schaible <joerg.schaible@gmx.de>
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'genkernel.conf')
-rw-r--r-- | genkernel.conf | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/genkernel.conf b/genkernel.conf index 5e5a67b..57cb2b0 100644 --- a/genkernel.conf +++ b/genkernel.conf @@ -74,8 +74,14 @@ USECOLOR="yes" # Add in GnuPG support #GPG="no" -# Add in early microcode support -#MICROCODE="no" +# Add in early microcode support: this sets the kernel options for early microcode loading +# Acceptible values: empty/"no", "all", "intel", "amd" +#MICROCODE="all" + +# Include early microcode in generated initramfs +# This is enabled by default for upgrade compatability, however is obsoleted by +# sys-boot/grub-2.02-r1, which supports multiple initramfs in the bootloader. +#MICROCODE_INITRAMFS="no" # Add in NFS support #NFS="no" |