summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2018-06-19 10:44:50 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2018-06-19 12:48:09 +0200
commit095c6c3efca58eff071868a9d1a8b65ac98d8063 (patch)
treecf5c62b03082ca57c4c47b9a023664c02f249a3a
parentbeaeb28262257da11d2d9a198656e606f82922a6 (diff)
downloadmeta-updater-095c6c3efca58eff071868a9d1a8b65ac98d8063.tar.gz
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.
-rw-r--r--lib/oeqa/selftest/cases/updater.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oeqa/selftest/cases/updater.py b/lib/oeqa/selftest/cases/updater.py
index 1017d53..a5533a5 100644
--- a/lib/oeqa/selftest/cases/updater.py
+++ b/lib/oeqa/selftest/cases/updater.py
@@ -348,6 +348,7 @@ class ImplProvTests(OESelftestTestCase):
348 self.meta_qemu = None 348 self.meta_qemu = None
349 self.append_config('MACHINE = "qemux86-64"') 349 self.append_config('MACHINE = "qemux86-64"')
350 self.append_config('SOTA_CLIENT_PROV = " aktualizr-implicit-prov "') 350 self.append_config('SOTA_CLIENT_PROV = " aktualizr-implicit-prov "')
351 runCmd('bitbake -c cleanall aktualizr aktualizr-implicit-prov')
351 self.qemu, self.s = qemu_launch(machine='qemux86-64') 352 self.qemu, self.s = qemu_launch(machine='qemux86-64')
352 353
353 def tearDownLocal(self): 354 def tearDownLocal(self):
@@ -419,6 +420,7 @@ class HsmTests(OESelftestTestCase):
419 self.append_config('MACHINE = "qemux86-64"') 420 self.append_config('MACHINE = "qemux86-64"')
420 self.append_config('SOTA_CLIENT_PROV = "aktualizr-hsm-prov"') 421 self.append_config('SOTA_CLIENT_PROV = "aktualizr-hsm-prov"')
421 self.append_config('SOTA_CLIENT_FEATURES = "hsm"') 422 self.append_config('SOTA_CLIENT_FEATURES = "hsm"')
423 runCmd('bitbake -c cleanall aktualizr aktualizr-hsm-prov')
422 self.qemu, self.s = qemu_launch(machine='qemux86-64') 424 self.qemu, self.s = qemu_launch(machine='qemux86-64')
423 425
424 def tearDownLocal(self): 426 def tearDownLocal(self):