]> code.ossystems Code Review - openembedded-core.git/commitdiff
image_types: declare support for wic.zst
authorDiego <diego.rondini@kynetics.com>
Thu, 14 May 2020 22:16:02 +0000 (00:16 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 May 2020 05:31:53 +0000 (06:31 +0100)
Declare images in wic.zst format as supported, as bmaptool now supports
zstd:
https://github.com/intel/bmap-tools/commit/1b8437d58447d3796dc11fd0f2c62bec5746e5d6
Given the very fast decompression speed of zstd over, for example, gzip,
writing images with bmaptool can provide big write speed improvements
when decompression speed is the limiting factor (especially with very
sparse images).

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image_types.bbclass
meta/lib/oeqa/selftest/cases/imagefeatures.py

index f82f1d886246421e34a7f5b8c85166a5bb554a31..ab05cc90ff2eb17bd7364e1b9c18570fd945b138 100644 (file)
@@ -273,7 +273,7 @@ IMAGE_TYPES = " \
     ubi ubifs multiubi \
     tar tar.gz tar.bz2 tar.xz tar.lz4 tar.zst \
     cpio cpio.gz cpio.xz cpio.lzma cpio.lz4 \
-    wic wic.gz wic.bz2 wic.lzma \
+    wic wic.gz wic.bz2 wic.lzma wic.zst \
     container \
     f2fs \
 "
index 2b9c4998f79f7fe46acabf2c17b31867f1c5a883..dea519e6df75f814c8350887cdce4971143a604d 100644 (file)
@@ -209,7 +209,7 @@ class ImageFeatures(OESelftestTestCase):
         image_name = 'core-image-minimal'
 
         all_image_types = set(get_bb_var("IMAGE_TYPES", image_name).split())
-        blacklist = set(('container', 'elf', 'f2fs', 'multiubi', 'tar.zst'))
+        blacklist = set(('container', 'elf', 'f2fs', 'multiubi', 'tar.zst', 'wic.zst'))
         img_types = all_image_types - blacklist
 
         config = 'IMAGE_FSTYPES += "%s"\n'\