diff mbox series

[v4,10/10] wic-tools: Change to MACHINE_ARCH

Message ID 20260630210422.1903245-11-JPEWhacker@gmail.com
State New
Headers show
Series Implement SPDX for deploy tasks | expand

Commit Message

Joshua Watt June 30, 2026, 9:01 p.m. UTC
Changes wic-tools to be MACHINE_ARCH. This isn't exactly an ideal, but
wic-tools is attempting to provide a target sysroot that (potentially)
contains the EFI binaries for wic (and, this is the only way wic is
willing to find those binaries). Since the EFI binaries are
MACHINE_ARCH, wic-tools must also be MACHINE_ARCH otherwise it causes
problems.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 meta/recipes-core/meta/wic-tools.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-core/meta/wic-tools.bb b/meta/recipes-core/meta/wic-tools.bb
index 45fb873dd6..823dbe6db6 100644
--- a/meta/recipes-core/meta/wic-tools.bb
+++ b/meta/recipes-core/meta/wic-tools.bb
@@ -17,6 +17,8 @@  DEPENDS:append:aarch64 = " grub-efi systemd-boot"
 
 INHIBIT_DEFAULT_DEPS = "1"
 
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
 inherit nopackages
 
 # The sysroot of wic-tools is needed for wic, but if rm_work is enabled, it will