diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-03 16:15:07 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-03 17:51:39 +0100 |
commit | acb7ed711762bb16cda8726c2a419bbbc4ddd35d (patch) | |
tree | a99b218371b8b0b4136e73d636044c44543dcf64 /meta/lib/oeqa/selftest/cases/bblock.py | |
parent | 6b01b0e301ced27a9afa255575ef7772002b04ec (diff) | |
download | poky-acb7ed711762bb16cda8726c2a419bbbc4ddd35d.tar.gz |
oeqa/selftest/bblock/fitimage: 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 OE-Core rev: b717af0d92fae0545da458cbaccfa17f266c62f3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/bblock.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/bblock.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/bblock.py b/meta/lib/oeqa/selftest/cases/bblock.py index 2b62d2a0aa..cb99d32bb5 100644 --- a/meta/lib/oeqa/selftest/cases/bblock.py +++ b/meta/lib/oeqa/selftest/cases/bblock.py | |||
@@ -122,11 +122,11 @@ class BBLock(OESelftestTestCase): | |||
122 | else: | 122 | else: |
123 | machine = "qemux86-64" | 123 | machine = "qemux86-64" |
124 | 124 | ||
125 | self.write_config('MACHINE = "%s"\n' % machine) | 125 | self.write_config('MACHINE:forcevariable = "%s"\n' % machine) |
126 | 126 | ||
127 | self.lock_recipes(recipes, tasks) | 127 | self.lock_recipes(recipes, tasks) |
128 | 128 | ||
129 | self.write_config('MACHINE = "%s"\n' % self.td["MACHINE"]) | 129 | self.write_config('MACHINE:forcevariable = "%s"\n' % self.td["MACHINE"]) |
130 | # modify quilt's do_compile task | 130 | # modify quilt's do_compile task |
131 | self.modify_tasks(recipes, tasks) | 131 | self.modify_tasks(recipes, tasks) |
132 | 132 | ||