summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorNowa Ammerlaan <nowa@gentoo.org>2025-01-06 18:27:42 +0100
committerNowa Ammerlaan <nowa@gentoo.org>2025-01-06 21:25:33 +0100
commit07dd6fa527001c5f877c668bf8036f3a2453135f (patch)
treecea80c7fb4e6b5014fca46305d6b000e9f0804df /eclass
parentdev-lang/qu-prolog: Stabilize 10.8 ppc, #947624 (diff)
downloadgentoo-07dd6fa527001c5f877c668bf8036f3a2453135f.tar.gz
gentoo-07dd6fa527001c5f877c668bf8036f3a2453135f.tar.bz2
gentoo-07dd6fa527001c5f877c668bf8036f3a2453135f.zip
kernel-build.eclass: resolve configure problem with USE=secureboot
if no keys set, then secureboot.eclass now inherits linux-info.eclass to check for potential key candidates in the kernel config. This would set KV_FULL and create a mess later on in the configure phase. Ensure that KV_FULL remains local to the setup phase specifically for the kernel packages. Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-build.eclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
index e3175453fea7..8f3346bb4874 100644
--- a/eclass/kernel-build.eclass
+++ b/eclass/kernel-build.eclass
@@ -137,6 +137,9 @@ fi
kernel-build_pkg_setup() {
python-any-r1_pkg_setup
if [[ ${KERNEL_IUSE_MODULES_SIGN} && ${MERGE_TYPE} != binary ]]; then
+ # inherits linux-info to check config values for keys
+ # ensure KV_FULL will not be set globally, that breaks configure
+ local KV_FULL
secureboot_pkg_setup
if use modules-sign && [[ -n ${MODULES_SIGN_KEY} ]]; then