mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
sys-kernel/vanilla-kernel: enable module signing for <= 6.1 (9999)
Disable zboot since it is not available for <6.1 and not working properly in qemu on 6.1. Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
KERNEL_IUSE_MODULES_SIGN=1
|
||||
|
||||
inherit git-r3 kernel-build toolchain-funcs
|
||||
|
||||
# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
|
||||
@@ -124,5 +126,10 @@ src_prepare() {
|
||||
merge_configs+=( "${dist_conf_path}/big-endian.config" )
|
||||
fi
|
||||
|
||||
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
|
||||
|
||||
# 5.10 series: No ZBOOT, disable explicitly to not confuse the eclass
|
||||
echo "# CONFIG_EFI_ZBOOT is not set" > "${dist_conf_path}/secureboot.config" || die
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
KERNEL_IUSE_MODULES_SIGN=1
|
||||
|
||||
inherit git-r3 kernel-build toolchain-funcs
|
||||
|
||||
# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
|
||||
@@ -128,5 +130,10 @@ src_prepare() {
|
||||
merge_configs+=( "${dist_conf_path}/big-endian.config" )
|
||||
fi
|
||||
|
||||
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
|
||||
|
||||
# 5.15 series: No ZBOOT, disable explicitly to not confuse the eclass
|
||||
echo "# CONFIG_EFI_ZBOOT is not set" > "${dist_conf_path}/secureboot.config" || die
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
KERNEL_IUSE_MODULES_SIGN=1
|
||||
|
||||
inherit git-r3 kernel-build toolchain-funcs
|
||||
|
||||
# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
|
||||
@@ -130,5 +132,10 @@ src_prepare() {
|
||||
merge_configs+=( "${dist_conf_path}/big-endian.config" )
|
||||
fi
|
||||
|
||||
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
|
||||
|
||||
# 6.1 series: ZBOOT causes hangs in qemu tests, disable for now
|
||||
echo "# CONFIG_EFI_ZBOOT is not set" > "${dist_conf_path}/secureboot.config" || die
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user