aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-02-17 21:52:30 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-02-18 04:43:37 +0100
commitc8a6845ff99a1fe5928d331375242f07bf49fac1 (patch)
treee1c985b4a3d4f7682d4a7028872257efd9a466bf /gen_configkernel.sh
parentinitrd.scripts: openLUKS(): differentiate LUKS_DEVICE errors (diff)
downloadgenkernel-c8a6845ff99a1fe5928d331375242f07bf49fac1.tar.gz
genkernel-c8a6845ff99a1fe5928d331375242f07bf49fac1.tar.bz2
genkernel-c8a6845ff99a1fe5928d331375242f07bf49fac1.zip
gen_configkernel.sh: config_kernel(): don't set CONFIG_MICROCODE_OLD_INTERFACE for $KV > 4.3 anymore
sys-apps/microcode-ctl which uses this interface was already removed from repository in 2018. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gen_configkernel.sh')
-rwxr-xr-xgen_configkernel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_configkernel.sh b/gen_configkernel.sh
index 56b56650..00eab736 100755
--- a/gen_configkernel.sh
+++ b/gen_configkernel.sh
@@ -978,7 +978,7 @@ config_kernel() {
print_info 2 "$(get_indent 1)>> Ensure that required kernel options for early microcode loading support are set ..."
kconfigs_microcode+=( 'CONFIG_MICROCODE' )
- kconfigs_microcode+=( 'CONFIG_MICROCODE_OLD_INTERFACE' )
+ [ ${KV_NUMERIC} -le 4003 ] && kconfigs_microcode+=( 'CONFIG_MICROCODE_OLD_INTERFACE' )
[ ${KV_NUMERIC} -le 4003 ] && kconfigs_microcode+=( 'CONFIG_MICROCODE_EARLY' )
# Intel