diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-03 16:27:38 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-04 11:16:44 +0100 |
commit | a2e67c56842723c053d921801d71d503fdea1025 (patch) | |
tree | 4e2fe5a3db65a7f8ae6b257fe4a3fc06fba741bf /meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py | |
parent | a30225252320f78c492183a1948c0d20f3c540f8 (diff) | |
download | poky-a2e67c56842723c053d921801d71d503fdea1025.tar.gz |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py')
-rw-r--r-- | meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): | |||
18 | 18 | ||
19 | # Set EFI_PROVIDER = "systemdboot" and MACHINE = "genericx86-64" in conf/local.conf | 19 | # Set EFI_PROVIDER = "systemdboot" and MACHINE = "genericx86-64" in conf/local.conf |
20 | features = 'EFI_PROVIDER = "systemd-boot"\n' | 20 | features = 'EFI_PROVIDER = "systemd-boot"\n' |
21 | features += 'MACHINE = "genericx86-64"\n' | 21 | features += 'MACHINE:forcevariable = "genericx86-64"\n' |
22 | features += 'IMAGE_FSTYPES += "wic"\n' | 22 | features += 'IMAGE_FSTYPES += "wic"\n' |
23 | features += 'COMPATIBLE_MACHINE:pn-ssh-pregen-hostkeys:genericx86-64 = "genericx86-64"\n' | 23 | features += 'COMPATIBLE_MACHINE:pn-ssh-pregen-hostkeys:genericx86-64 = "genericx86-64"\n' |
24 | self.append_config(features) | 24 | self.append_config(features) |