[PATCH 4/4] linux-yocto: remove signing

Mikko Rapeli <[email protected]>
Newsgroups org.yoctoproject.lists.meta-arm
Message-ID <[email protected]>
Remove secure boot signature from kernel image.
It's signed as part of uki image now which signs
kernel, initramfs etc.

Signed-off-by: Mikko Rapeli <[email protected]>
---
 .../linux/linux-yocto-uefi-secureboot.inc              | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/meta-arm/recipes-kernel/linux/linux-yocto-uefi-secureboot.inc b/meta-arm/recipes-kernel/linux/linux-yocto-uefi-secureboot.inc
index 5c1f4de7..93c0581a 100644
--- a/meta-arm/recipes-kernel/linux/linux-yocto-uefi-secureboot.inc
+++ b/meta-arm/recipes-kernel/linux/linux-yocto-uefi-secureboot.inc
@@ -1,14 +1,4 @@
 KERNEL_FEATURES += "cfg/efi-ext.scc"
 
-inherit sbsign
-
-# shell variable set inside do_compile task
-SBSIGN_TARGET_BINARY = "$KERNEL_IMAGE"
-
-do_compile:append() {
-    KERNEL_IMAGE=$(find ${B} -name ${KERNEL_IMAGETYPE} -print -quit)
-    do_sbsign
-}
-
 RRECOMMENDS:${PN} += "kernel-module-efivarfs"
 RRECOMMENDS:${PN} += "kernel-module-efivars"
-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.