diff mbox series

[isar-cip-core,1/3] ebg: install for correct distro-arch

Message ID 20230213085741.1242658-1-felix.moessbauer@siemens.com (mailing list archive)
State Accepted
Headers show
Series [isar-cip-core,1/3] ebg: install for correct distro-arch | expand

Commit Message

Felix Moessbauer Feb. 13, 2023, 8:57 a.m. UTC
The efibootguard package is architecture specific (similar to the
systemd-boot package). Hence, install it for the distro-arch, not for
the host arch to make cross-imaging work.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 recipes-core/images/efibootguard.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/recipes-core/images/efibootguard.inc b/recipes-core/images/efibootguard.inc
index 26026dc..b3fe911 100644
--- a/recipes-core/images/efibootguard.inc
+++ b/recipes-core/images/efibootguard.inc
@@ -11,7 +11,7 @@ 
 
 IMAGE_INSTALL:append = " efibootguard"
 
-WIC_IMAGER_INSTALL:append = " efibootguard"
+WIC_IMAGER_INSTALL:append = " efibootguard:${DISTRO_ARCH}"
 WDOG_TIMEOUT ?= "60"
 WICVARS += "WDOG_TIMEOUT KERNEL_IMAGE INITRD_IMAGE DTB_FILES"
 IMAGE_FSTYPES += "wic"