selftest: wic: IMAGE_BOOT_FILES test to run on bootimg-efi
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
Signed-off-by Khasim Syed Mohammed <[email protected]>
--- meta/lib/oeqa/selftest/cases/wic.py | 2 ++ 1 file changed, 2 insertions(+)
meta/lib/oeqa/selftest/cases/wic.py +2 -0
@@ -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