diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/wic.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index 224610c9d7..776e44aac4 100644 --- a/meta/lib/oeqa/selftest/wic.py +++ b/meta/lib/oeqa/selftest/wic.py | |||
@@ -228,7 +228,8 @@ class Wic(oeSelfTest): | |||
228 | def test_sdimage_bootpart(self): | 228 | def test_sdimage_bootpart(self): |
229 | """Test creation of sdimage-bootpart image""" | 229 | """Test creation of sdimage-bootpart image""" |
230 | cmd = "wic create sdimage-bootpart -e core-image-minimal -o %s" % self.resultdir | 230 | cmd = "wic create sdimage-bootpart -e core-image-minimal -o %s" % self.resultdir |
231 | self.write_config('IMAGE_BOOT_FILES = "bzImage"\n') | 231 | kimgtype = get_bb_var('KERNEL_IMAGETYPE', 'core-image-minimal') |
232 | self.write_config('IMAGE_BOOT_FILES = "%s"\n' % kimgtype) | ||
232 | self.assertEqual(0, runCmd(cmd).status) | 233 | self.assertEqual(0, runCmd(cmd).status) |
233 | self.assertEqual(1, len(glob(self.resultdir + "sdimage-bootpart-*direct"))) | 234 | self.assertEqual(1, len(glob(self.resultdir + "sdimage-bootpart-*direct"))) |
234 | 235 | ||