diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2018-11-26 15:05:59 +0100 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2018-11-26 15:36:20 +0100 |
commit | de6008d854ddc94589a050e7eac00ccd1cf072a6 (patch) | |
tree | 650bf3c2366cb20adfde713b516ac6ec63bb986f /lib/oeqa/selftest/cases | |
parent | bc678ac4ca43e43b0a0597efe434b44b832080f6 (diff) | |
download | meta-updater-de6008d854ddc94589a050e7eac00ccd1cf072a6.tar.gz |
oe-selftest: rpi-basic-image is deprecated. Use core-image-minimal.fix/rpi-image-type
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Diffstat (limited to 'lib/oeqa/selftest/cases')
-rw-r--r-- | lib/oeqa/selftest/cases/updater.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/oeqa/selftest/cases/updater.py b/lib/oeqa/selftest/cases/updater.py index 499ddb7..7e55d07 100644 --- a/lib/oeqa/selftest/cases/updater.py +++ b/lib/oeqa/selftest/cases/updater.py | |||
@@ -285,9 +285,9 @@ class RpiTests(OESelftestTestCase): | |||
285 | 285 | ||
286 | def test_rpi(self): | 286 | def test_rpi(self): |
287 | logger = logging.getLogger("selftest") | 287 | logger = logging.getLogger("selftest") |
288 | logger.info('Running bitbake to build rpi-basic-image') | 288 | logger.info('Running bitbake to build core-image-minimal') |
289 | self.append_config('SOTA_CLIENT_PROV = "aktualizr-auto-prov"') | 289 | self.append_config('SOTA_CLIENT_PROV = "aktualizr-auto-prov"') |
290 | bitbake('rpi-basic-image') | 290 | bitbake('core-image-minimal') |
291 | credentials = get_bb_var('SOTA_PACKED_CREDENTIALS') | 291 | credentials = get_bb_var('SOTA_PACKED_CREDENTIALS') |
292 | # Skip the test if the variable SOTA_PACKED_CREDENTIALS is not set. | 292 | # Skip the test if the variable SOTA_PACKED_CREDENTIALS is not set. |
293 | if credentials is None: | 293 | if credentials is None: |
@@ -295,7 +295,7 @@ class RpiTests(OESelftestTestCase): | |||
295 | # Check if the file exists. | 295 | # Check if the file exists. |
296 | self.assertTrue(os.path.isfile(credentials), "File %s does not exist" % credentials) | 296 | self.assertTrue(os.path.isfile(credentials), "File %s does not exist" % credentials) |
297 | deploydir = get_bb_var('DEPLOY_DIR_IMAGE') | 297 | deploydir = get_bb_var('DEPLOY_DIR_IMAGE') |
298 | imagename = get_bb_var('IMAGE_LINK_NAME', 'rpi-basic-image') | 298 | imagename = get_bb_var('IMAGE_LINK_NAME', 'core-image-minimal') |
299 | # Check if the credentials are included in the output image. | 299 | # Check if the credentials are included in the output image. |
300 | result = runCmd('tar -jtvf %s/%s.tar.bz2 | grep sota_provisioning_credentials.zip' % | 300 | result = runCmd('tar -jtvf %s/%s.tar.bz2 | grep sota_provisioning_credentials.zip' % |
301 | (deploydir, imagename), ignore_status=True) | 301 | (deploydir, imagename), ignore_status=True) |