[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4517/8267] selftest: wic: stop using iso image type



commit 675bb9ddb8565a0fb29ace2d0bdea41a2090fcef
Author: Ed Bartosh <ed bartosh linux intel com>
Date:   Fri Feb 3 17:22:08 2017 +0200

    selftest: wic: stop using iso image type
    
    Removed 'IMAGE_FSTYPES = "iso" as this functionality depends on
    do_bootimg, which is going to be obsoleted soon.
    
    As wic doesn't depend on bootimg it's safe to remove this.
    
    (From OE-Core rev: a08e2019223d7c04916967d8fd42279e8e1e186f)
    
    Signed-off-by: Ed Bartosh <ed bartosh linux intel com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/lib/oeqa/selftest/wic.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index 07b8312..417ba3d 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -42,8 +42,7 @@ class Wic(oeSelfTest):
 
     def setUpLocal(self):
         """This code is executed before each test method."""
-        self.write_config('IMAGE_FSTYPES = "iso"\n'
-                          'MACHINE_FEATURES_append = " efi"\n')
+        self.write_config('MACHINE_FEATURES_append = " efi"\n')
 
         # Do this here instead of in setUpClass as the base setUp does some
         # clean up which can result in the native tools built earlier in
@@ -151,7 +150,8 @@ class Wic(oeSelfTest):
     @testcase(1346)
     def test_iso_image(self):
         """Test creation of hybrid iso image with legacy and EFI boot"""
-        config = 'MACHINE_FEATURES_append = " efi"\n'
+        config = 'INITRAMFS_IMAGE = "core-image-minimal-initramfs"\n'\
+                 'MACHINE_FEATURES_append = " efi"\n'
         self.append_config(config)
         bitbake('core-image-minimal')
         self.remove_config(config)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]