mirror of
https://git.yoctoproject.org/poky-contrib
synced 2025-10-14 03:05:35 +08:00
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: 3f56d9e3b1b30116d979a98f7cf765c26996016a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user