Hi, any updates? -----Original Message----- From: [email protected] <[email protected]> On Behalf Of Aleksey Smirnov Sent: Wednesday, November 6, 2024 6:17 PM To: [email protected] Cc: Aleksey Smirnov <[email protected]> Subject: [OE-core] [PATCH] grub-efi: add extra parameters to grub-mkimage
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 (#210225): https://lists.openembedded.org/g/openembedded-core/message/210225 Mute This Topic: https://lists.openembedded.org/mt/110792183/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
