diff options
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) |