hardened-kernel-5.4.48: fix ebuild
This commit is contained in:
parent
a829701694
commit
03e3de3228
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue