summaryrefslogtreecommitdiffstats
path: root/lib/oeqa/selftest
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:47:10 +0200
commitcf23391c408712f65c9e65a8187d1c00d16c30de (patch)
tree153e2899a47a25e2c4915001d058347f0fea02a4 /lib/oeqa/selftest
parent343b228fe997a8465a8dad7ef3deb19d4f04fdbb (diff)
downloadmeta-updater-cf23391c408712f65c9e65a8187d1c00d16c30de.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.
Diffstat (limited to 'lib/oeqa/selftest')
-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 54b8aa2..96058e7 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):