summaryrefslogtreecommitdiffstats
path: root/lib/oeqa/selftest/cases/updater_native.py
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2019-07-05 17:41:29 +0200
committerLaurent Bonnans <laurent.bonnans@here.com>2019-07-15 15:28:26 +0200
commit69d8dc6ed1405a6a05faca12f482e79cb6e0471b (patch)
tree025ebacfe5a81e5eda40c9cb84250b983fa5b04a /lib/oeqa/selftest/cases/updater_native.py
parentf68e1d59f0a0ed4341dad3b16d4979b1b63336d7 (diff)
downloadmeta-updater-69d8dc6ed1405a6a05faca12f482e79cb6e0471b.tar.gz
Fix aktualizr-native run in oe-selftest
It did not work when using an empty build dir with sstate-cache, the proper working way is to bitbake build_sysroots. Also change the way we fetches some of the akautalizr package files which was broken too. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Diffstat (limited to 'lib/oeqa/selftest/cases/updater_native.py')
-rw-r--r--lib/oeqa/selftest/cases/updater_native.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oeqa/selftest/cases/updater_native.py b/lib/oeqa/selftest/cases/updater_native.py
index 1fc9cb8..d2bf341 100644
--- a/lib/oeqa/selftest/cases/updater_native.py
+++ b/lib/oeqa/selftest/cases/updater_native.py
@@ -14,6 +14,7 @@ class SotaToolsTests(OESelftestTestCase):
14 logger = logging.getLogger("selftest") 14 logger = logging.getLogger("selftest")
15 logger.info('Running bitbake to build aktualizr-native tools') 15 logger.info('Running bitbake to build aktualizr-native tools')
16 bitbake('aktualizr-native') 16 bitbake('aktualizr-native')
17 bitbake('build-sysroots -c build_native_sysroot')
17 18
18 def test_push_help(self): 19 def test_push_help(self):
19 akt_native_run(self, 'garage-push --help') 20 akt_native_run(self, 'garage-push --help')