diff options
author | Adrian Freihofer <adrian.freihofer@siemens.com> | 2025-06-14 17:58:12 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-16 17:57:30 +0100 |
commit | 4f6292a012dec1543d207f296b572bd29f1af15c (patch) | |
tree | 21820729811e8b838bd715417341a07e51a1224a | |
parent | d8bbd453ab4d14d3f9c1bca391f75f4522d0879d (diff) | |
download | poky-4f6292a012dec1543d207f296b572bd29f1af15c.tar.gz |
oe-selftest: fitimage: replace cleansstate with compile -f
Avoid using "cleansstate" in tests, as it can remove files from
SSTATE_DIR and disrupt parallel builds on autobuilders. Use
"bitbake kernel-signing-keys-native -c compile -f" to force key
regeneration without affecting shared state.
This issue was introduced in:
oe-selftest: fitimage: cleanup FIT_GENERATE_KEYS
OE-Core rev: 97e58d7c2bc1943f0696fc72984788f459f7f7c4
(From OE-Core rev: 917e2989f34fde12d3f039744fca1d5ab5b4a7a8)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oeqa/selftest/cases/fitimage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/fitimage.py b/meta/lib/oeqa/selftest/cases/fitimage.py index 7d5a9ad751..ca4724d1ae 100644 --- a/meta/lib/oeqa/selftest/cases/fitimage.py +++ b/meta/lib/oeqa/selftest/cases/fitimage.py | |||
@@ -918,7 +918,7 @@ UBOOT_MKIMAGE_SIGN_ARGS = "-c 'a smart comment'" | |||
918 | bb_vars = self._fit_get_bb_vars() | 918 | bb_vars = self._fit_get_bb_vars() |
919 | 919 | ||
920 | # Ensure new keys are generated and FIT_GENERATE_KEYS = "1" is tested | 920 | # Ensure new keys are generated and FIT_GENERATE_KEYS = "1" is tested |
921 | bitbake("kernel-signing-keys-native -c cleansstate") | 921 | bitbake("kernel-signing-keys-native -c compile -f") |
922 | 922 | ||
923 | self._test_fitimage(bb_vars) | 923 | self._test_fitimage(bb_vars) |
924 | 924 | ||