]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
grub-efi: Change to MACHINE_ARCH
authorJoshua Watt <JPEWhacker@gmail.com>
Tue, 30 Jun 2026 21:01:41 +0000 (15:01 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Jul 2026 16:15:09 +0000 (17:15 +0100)
Machines can change EFI_PROVIDER which changes the way grub-efi is
built, meaning two machine may not build it the same way. As such, the
arch should be MACHINE_ARCH.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/grub/grub-efi_2.14.bb

index 6354b43989c8171423b3aaa7f9af52d07b233c27..d19b33b5044d191dd30298f17d535d9eff4000a0 100644 (file)
@@ -41,6 +41,8 @@ python __anonymous () {
     d.setVar("GRUB_IMAGE_PREFIX", prefix)
 }
 
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
 inherit deploy
 
 CACHED_CONFIGUREVARS += "ac_cv_path_HELP2MAN="