diff options
author | 2023-09-15 07:53:56 +0200 | |
---|---|---|
committer | 2023-10-01 11:27:18 +0200 | |
commit | 151c847ec2fd8417433af2d8b0ceed5b786d6ce0 (patch) | |
tree | 4021b4af12a32ac1150bb902521e64debcdbf0fe /eclass | |
parent | www-client/vivaldi: Drop old 6.2.3105.47 and 6.2.3105.48 (diff) | |
download | gentoo-151c847ec2fd8417433af2d8b0ceed5b786d6ce0.tar.gz gentoo-151c847ec2fd8417433af2d8b0ceed5b786d6ce0.tar.bz2 gentoo-151c847ec2fd8417433af2d8b0ceed5b786d6ce0.zip |
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>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel-build.eclass | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass index 01cd184f41c0..4f7e4d047739 100644 --- a/eclass/kernel-build.eclass +++ b/eclass/kernel-build.eclass @@ -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 |