hardened-kernel-5.4.48: fix ebuild

This commit is contained in:
Alexander Miroshnichenko 2020-07-03 14:00:23 +03:00
parent a829701694
commit 03e3de3228
Signed by: alex
GPG Key ID: E93720C6C73A77F4
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ src_prepare() {
src_install() {
kernel-build_src_install
if [[ -z "${UEFI_SB_KEY}" && -z "${UEFI_SB_CRT}" ]] ;then
if [[ -n "${UEFI_SB_KEY}" && -n "${UEFI_SB_CRT}" ]] ;then
sbsign --key ${UEFI_SB_KEY} --cert ${UEFI_SB_CRT} --output ${D}/usr/src/linux-${PV}/arch/x86/boot/bzImage.signed \
${D}/usr/src/linux-${PV}/arch/x86/boot/bzImage && \
mv ${D}/usr/src/linux-${PV}/arch/x86/boot/bzImage.signed ${D}/usr/src/linux-${PV}/arch/x86/boot/bzImage