[OE-core] [PATCH] selftest/wic: Fix prebuild to build both the images and wicenv

Richard Purdie richard.purdie at linuxfoundation.org
Tue Mar 29 08:38:04 UTC 2016


Without building the images, files wic expects for hddimg aren't
present and this breaks the gummiboot and efi tests.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index 3829de2..f3185eb 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -50,7 +50,7 @@ class Wic(oeSelfTest):
         if not Wic.image_is_ready:
             bitbake('syslinux syslinux-native parted-native gptfdisk-native '
                     'dosfstools-native mtools-native')
-            bitbake('core-image-minimal -c do_rootfs_wicenv')
+            bitbake('core-image-minimal:do_rootfs_wicenv core-image-minimal')
             Wic.image_is_ready = True
 
         rmtree(self.resultdir, ignore_errors=True)





More information about the Openembedded-core mailing list