From: Ed Bartosh Date: Sat, 13 Feb 2016 09:02:15 +0000 (+0200) Subject: wic-image-minimal: change IMAGE_FSTYPES X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~27002 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69d8dfe4fc1fec440e33b1bb6cef62e20f1f5c28;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git wic-image-minimal: change IMAGE_FSTYPES Replaced wic.bz2 -> wic in the recipe. Replaced wic.bz2 -> wic in oe-selftest test case. wic-image-minimal is going to be booted in qemu and tested. As runqemu doesn't support compressed images this recipe needs to produce raw wic image. (From OE-Core rev: 3ce91db94f4b921566dce0dc6f91a422009be06b) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- diff --git a/meta-selftest/recipes-test/images/wic-image-minimal.bb b/meta-selftest/recipes-test/images/wic-image-minimal.bb index 95c7a9b89af..ced22c822a2 100644 --- a/meta-selftest/recipes-test/images/wic-image-minimal.bb +++ b/meta-selftest/recipes-test/images/wic-image-minimal.bb @@ -4,7 +4,7 @@ SRC_URI = "file://${FILE_DIRNAME}/${BPN}.wks" IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP}" -IMAGE_FSTYPES = "wic.bz2" +IMAGE_FSTYPES = "wic" RM_OLD_IMAGE = "1" DEPENDS = "syslinux syslinux-native parted-native dosfstools-native mtools-native" diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index df826ed84bf..a739f69b2eb 100644 --- a/meta/lib/oeqa/selftest/wic.py +++ b/meta/lib/oeqa/selftest/wic.py @@ -228,7 +228,7 @@ class Wic(oeSelfTest): prefix = os.path.join(deploy_dir, 'wic-image-minimal-%s.' % machine) # check if we have result image and manifests symlinks # pointing to existing files - for suffix in ('wic.bz2', 'manifest'): + for suffix in ('wic', 'manifest'): path = prefix + suffix self.assertTrue(os.path.islink(path)) self.assertTrue(os.path.isfile(os.path.realpath(path)))