Sometimes it is reasonable to add extra params to grub-mkimage,
for example: "--disable-shim-lock --pubkey <pubkey>". For that purposes
variable GRUB_MKIMAGE_EXTRA is implemented.

Signed-off-by: Aleksey Smirnov <[email protected]>
---
 meta/recipes-bsp/grub/grub-efi_2.12.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-bsp/grub/grub-efi_2.12.bb 
b/meta/recipes-bsp/grub/grub-efi_2.12.bb
index 7df77deca3..4a73ec5034 100644
--- a/meta/recipes-bsp/grub/grub-efi_2.12.bb
+++ b/meta/recipes-bsp/grub/grub-efi_2.12.bb
@@ -58,7 +58,7 @@ do_mkimage() {
 
        # Search for the grub.cfg on the local boot media by using the
        # built in cfg file provided via this recipe
-       grub-mkimage -v -c ${UNPACKDIR}/cfg -p ${EFIDIR} -d ./grub-core/ \
+       grub-mkimage -v -c ${UNPACKDIR}/cfg -p ${EFIDIR} -d ./grub-core/ 
${GRUB_MKIMAGE_EXTRA} \
                       -O ${GRUB_TARGET}-efi -o 
./${GRUB_IMAGE_PREFIX}${GRUB_IMAGE} \
                       ${GRUB_MKIMAGE_MODULES}
 }
-- 
2.30.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#206789): 
https://lists.openembedded.org/g/openembedded-core/message/206789
Mute This Topic: https://lists.openembedded.org/mt/109426389/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to