grub-efi: add extra parameters to grub-mkimage
A message that is not in the archive (sent off-list or not yet received): [email protected]
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(-)
meta/recipes-bsp/grub/grub-efi_2.12.bb +2 -2
@@ -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