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 <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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)