Skip to contentSkip to conversation

selftest: wic: IMAGE_BOOT_FILES test to run on bootimg-efi

PATCH New Khasim Mohammed 1 participant 1 message Jul 24, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftest: wic: IMAGE_BOOT_FILES test to run on bootimg-efi

bootimg-efi is updated to install files listed in IMAGE_BOOT_FILES into the boot partition. The test_mkefidisk in oeqa selftest is updated to run IMAGE_BOOT_FILES test for bootimg-efi.

Change-Id Id577e853fecc5fe58531c7afa33db3b1c00c8319
---
 meta/lib/oeqa/selftest/cases/wic.py | 2 ++
 1 file changed, 2 insertions(+)
meta/lib/oeqa/selftest/cases/wic.py +2 -0
index 8b58285c32..41b15f6323 100644
@@ -210,6 +210,8 @@ class Wic(WicTestCase):
     def test_mkefidisk(self):
         """Test creation of mkefidisk image"""
         cmd = "wic create mkefidisk -e core-image-minimal -o %s" % self.resultdir
+        kimgtype = get_bb_var('KERNEL_IMAGETYPE', 'core-image-minimal')
+        self.write_config('IMAGE_BOOT_FILES = "%s"\n' % kimgtype)
         runCmd(cmd)
         self.assertEqual(1, len(glob(self.resultdir + "mkefidisk-*direct")))
 
Signature · 1 line
2.17.1