From 20bfaf684fce1326f75f902a9bb3f0e3d1ea12cd Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 3 Oct 2025 16:27:38 +0100 Subject: oeqa/selftest/systemd_boot: Fix changing MACHINE during the test With config fragments, changing MACHINE in the test like this no longer works. Use the forcevarable override to allow it to work. This also needs a tweak to bitbake to work correctly, sent seperately. Whilst ugly, this avoids the need to start changing config fragments. (From meta-yocto rev: 58b14d3e2213732f24fe2a9038daef0665b5433c) Signed-off-by: Richard Purdie --- meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py b/meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py index 781763d1f1..961d4ea31d 100644 --- a/meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py +++ b/meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py @@ -18,7 +18,7 @@ class Systemdboot(OESelftestTestCase): # Set EFI_PROVIDER = "systemdboot" and MACHINE = "genericx86-64" in conf/local.conf features = 'EFI_PROVIDER = "systemd-boot"\n' - features += 'MACHINE = "genericx86-64"\n' + features += 'MACHINE:forcevariable = "genericx86-64"\n' features += 'IMAGE_FSTYPES += "wic"\n' features += 'COMPATIBLE_MACHINE:pn-ssh-pregen-hostkeys:genericx86-64 = "genericx86-64"\n' self.append_config(features) -- cgit v1.2.3-54-g00ecf