diff options
author | 2025-01-06 18:27:42 +0100 | |
---|---|---|
committer | 2025-01-06 21:25:33 +0100 | |
commit | 07dd6fa527001c5f877c668bf8036f3a2453135f (patch) | |
tree | cea80c7fb4e6b5014fca46305d6b000e9f0804df /eclass | |
parent | dev-lang/qu-prolog: Stabilize 10.8 ppc, #947624 (diff) | |
download | gentoo-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.eclass | 3 |
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 |