Message ID | 20241106151647.1846508-1-aleksey.smirnov@yadro.com |
---|---|
State | New |
Headers | show |
Series | grub-efi: add extra parameters to grub-mkimage | expand |
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} }
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 <aleksey.smirnov@yadro.com> --- meta/recipes-bsp/grub/grub-efi_2.12.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)