mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user