summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-08-21 08:53:29 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-08-21 10:38:30 +0200
commit8655aba9e210295c110c1748a3b10cb10a6694c7 (patch)
treec7bb11e980c6a44542554835b5b9e620f7c0dcc7 /eclass/kernel-build.eclass
parentkernel-build.eclass: Fix separate private and public module signing keys (diff)
downloadgentoo-8655aba9e210295c110c1748a3b10cb10a6694c7.tar.gz
gentoo-8655aba9e210295c110c1748a3b10cb10a6694c7.tar.bz2
gentoo-8655aba9e210295c110c1748a3b10cb10a6694c7.zip
kernel-build.eclass: depend on openssl with USE=modules-sign
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'eclass/kernel-build.eclass')
-rw-r--r--eclass/kernel-build.eclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
index 8cf7222dc8ab..d498dd2e705b 100644
--- a/eclass/kernel-build.eclass
+++ b/eclass/kernel-build.eclass
@@ -101,6 +101,9 @@ IUSE="+strip"
if [[ ${KERNEL_IUSE_MODULES_SIGN} ]]; then
IUSE+=" modules-sign"
REQUIRED_USE="secureboot? ( modules-sign )"
+ BDEPEND+="
+ modules-sign? ( dev-libs/openssl )
+ "
fi
# @FUNCTION: kernel-build_pkg_setup