From cf23391c408712f65c9e65a8187d1c00d16c30de Mon Sep 17 00:00:00 2001 From: Patrick Vacek Date: Tue, 19 Jun 2018 10:44:50 +0200 Subject: 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. --- lib/oeqa/selftest/cases/updater.py | 2 ++ 1 file changed, 2 insertions(+) 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): 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): -- cgit v1.2.3-54-g00ecf