updater.py: Add hack to clean recipes before building.
This should not be necessary, but after building for the grub test, the
sysroot does not get repopulated as expected for the implicit/HSM tests.
@@ -348,6 +348,7 @@ class ImplProvTests(OESelftestTestCase):
self.meta_qemu = None
self.append_config('MACHINE = "qemux86-64"')
self.append_config('SOTA_CLIENT_PROV = " aktualizr-implicit-prov "')
+ runCmd('bitbake -c cleanall aktualizr aktualizr-implicit-prov')
self.qemu, self.s = qemu_launch(machine='qemux86-64')
def tearDownLocal(self):
@@ -419,6 +420,7 @@ class HsmTests(OESelftestTestCase):
self.append_config('MACHINE = "qemux86-64"')
self.append_config('SOTA_CLIENT_PROV = "aktualizr-hsm-prov"')
self.append_config('SOTA_CLIENT_FEATURES = "hsm"')
+ runCmd('bitbake -c cleanall aktualizr aktualizr-hsm-prov')
self.qemu, self.s = qemu_launch(machine='qemux86-64')
def tearDownLocal(self):
