]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
grub2: Add GRUB_MKIMAGE_OPTS for configurable grub-mkimage options
authorValeria Petrov <valeria.petrov@spinetix.com>
Fri, 21 Mar 2025 11:39:04 +0000 (12:39 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Mar 2025 17:17:21 +0000 (17:17 +0000)
commita6147adefcba7aae3f4eb8ed76d6a94315cafe61
tree174366b0c320fb689421f94e8b2f374a9d6ed752
parent07ddaeaacaab4c3e264816dea6de32378617bf4e
grub2: Add GRUB_MKIMAGE_OPTS for configurable grub-mkimage options

Introduce the GRUB_MKIMAGE_OPTS variable to allow additional options
to be passed to grub-mkimage, making its behavior more configurable.
(for example, this allows disabling shim lock when necessary).

Update do_mkimage to use ${GRUB_MKIMAGE_OPTS}. This change reduce the
need for hardcoded modifications and makes future adjustments easier.

Signed-off-by: Valeria Petrov <valeria.petrov@spinetix.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/recipes-bsp/grub/grub-efi_2.12.bb