Skip to contentSkip to conversation

selftest/wic: Fix prebuild to build both the images and wicenv

PATCH New Richard Purdie 1 participant 1 message Mar 29, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftest/wic: Fix prebuild to build both the images and wicenv

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

meta/lib/oeqa/selftest/wic.py +1 -1
index 3829de2..f3185eb 100644
@@ -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)