From: Adrian Freihofer Date: Sat, 14 Jun 2025 15:58:12 +0000 (+0200) Subject: oe-selftest: fitimage: replace cleansstate with compile -f X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=917e2989f34fde12d3f039744fca1d5ab5b4a7a8;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Adrian Freihofer Signed-off-by: Richard Purdie --- 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'" bb_vars = self._fit_get_bb_vars() # Ensure new keys are generated and FIT_GENERATE_KEYS = "1" is tested - bitbake("kernel-signing-keys-native -c cleansstate") + bitbake("kernel-signing-keys-native -c compile -f") self._test_fitimage(bb_vars)