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:
Nowa Ammerlaan
2025-07-20 16:49:56 +02:00
parent e0f115771a
commit b19ea3ed1c
3 changed files with 21 additions and 0 deletions

View File

@@ -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[@]}"
}

View File

@@ -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[@]}"
}

View File

@@ -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[@]}"
}