diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-07-21 10:51:47 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-07-21 15:29:46 +0200 |
commit | 55c2a7a949695e4e70d9246b8418453093f747e4 (patch) | |
tree | e4047ffb15ab421f7368012cf12900ba87d91f15 /eclass | |
parent | kernel-build.eclass: check and fail early if key or cert in DER format (diff) | |
download | gentoo-55c2a7a949695e4e70d9246b8418453093f747e4.tar.gz gentoo-55c2a7a949695e4e70d9246b8418453093f747e4.tar.bz2 gentoo-55c2a7a949695e4e70d9246b8418453093f747e4.zip |
kernel-build.eclass: don't check key/cert if merging binary
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/37640
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel-build.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass index fa01be28723f..aca387bb5abd 100644 --- a/eclass/kernel-build.eclass +++ b/eclass/kernel-build.eclass @@ -131,7 +131,7 @@ fi # Call python-any-r1 and secureboot pkg_setup kernel-build_pkg_setup() { python-any-r1_pkg_setup - if [[ ${KERNEL_IUSE_MODULES_SIGN} ]]; then + if [[ ${KERNEL_IUSE_MODULES_SIGN} && ${MERGE_TYPE} != binary ]]; then secureboot_pkg_setup # Sanity check: fail early if key/cert in DER format or does not exist |