kernel-build.eclass: drop obsolete if use secureboot statement

CONFIG_EFI_ZBOOT (among other things) is now set by secureboot.config in
GENTOO_CONFIG version g9 and up.

All {gentoo,vanilla}-kernel versions with "KERNEL_IUSE_MODULES_SIGN=1" and
GENTOO_CONFIG_VER<9 have been removed.

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/32793
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2023-10-01 11:27:18 +02:00
parent cc57976365
commit 151c847ec2
-14
View File
@@ -444,20 +444,6 @@ kernel-build_merge_configs() {
fi
fi
if [[ ${KERNEL_IUSE_SECUREBOOT} ]]; then
if use secureboot; then
# This only effects arm64 and riscv where the bootable image may
# contain its own decompressor (zboot). If enabled we get a
# sign-able efi file.
cat <<-EOF > "${WORKDIR}/secureboot.config" || die
## Enable zboot for signing
CONFIG_EFI_ZBOOT=y
EOF
merge_configs+=( "${WORKDIR}/secureboot.config" )
fi
fi
if [[ ${#user_configs[@]} -gt 0 ]]; then
elog "User config files are being applied:"
local x