diff --git a/sys-kernel/hardened-kernel/hardened-kernel-5.4.48.ebuild b/sys-kernel/hardened-kernel/hardened-kernel-5.4.48.ebuild index ae3e642..e2178c7 100644 --- a/sys-kernel/hardened-kernel/hardened-kernel-5.4.48.ebuild +++ b/sys-kernel/hardened-kernel/hardened-kernel-5.4.48.ebuild @@ -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