diff options
author | Diego <diego.rondini@kynetics.com> | 2020-05-15 00:16:02 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-18 06:33:36 +0100 |
commit | 106acf899e805350a146d6d0b226f628a03c998a (patch) | |
tree | 0902a1ef20de352d564dbdb422a0b8ee45e9c685 | |
parent | 17488d3e1df980d3e1c59c8698a57303f788944a (diff) | |
download | poky-106acf899e805350a146d6d0b226f628a03c998a.tar.gz |
image_types: declare support for wic.zst
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).
(From OE-Core rev: 704b01f33196cfdeaa57e2f2602ff2d52b25ab93)
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/image_types.bbclass | 2 | ||||
-rw-r--r-- | meta/lib/oeqa/selftest/cases/imagefeatures.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index f82f1d8862..ab05cc90ff 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -273,7 +273,7 @@ IMAGE_TYPES = " \ | |||
273 | ubi ubifs multiubi \ | 273 | ubi ubifs multiubi \ |
274 | tar tar.gz tar.bz2 tar.xz tar.lz4 tar.zst \ | 274 | tar tar.gz tar.bz2 tar.xz tar.lz4 tar.zst \ |
275 | cpio cpio.gz cpio.xz cpio.lzma cpio.lz4 \ | 275 | cpio cpio.gz cpio.xz cpio.lzma cpio.lz4 \ |
276 | wic wic.gz wic.bz2 wic.lzma \ | 276 | wic wic.gz wic.bz2 wic.lzma wic.zst \ |
277 | container \ | 277 | container \ |
278 | f2fs \ | 278 | f2fs \ |
279 | " | 279 | " |
diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py b/meta/lib/oeqa/selftest/cases/imagefeatures.py index 2b9c4998f7..dea519e6df 100644 --- a/meta/lib/oeqa/selftest/cases/imagefeatures.py +++ b/meta/lib/oeqa/selftest/cases/imagefeatures.py | |||
@@ -209,7 +209,7 @@ class ImageFeatures(OESelftestTestCase): | |||
209 | image_name = 'core-image-minimal' | 209 | image_name = 'core-image-minimal' |
210 | 210 | ||
211 | all_image_types = set(get_bb_var("IMAGE_TYPES", image_name).split()) | 211 | all_image_types = set(get_bb_var("IMAGE_TYPES", image_name).split()) |
212 | blacklist = set(('container', 'elf', 'f2fs', 'multiubi', 'tar.zst')) | 212 | blacklist = set(('container', 'elf', 'f2fs', 'multiubi', 'tar.zst', 'wic.zst')) |
213 | img_types = all_image_types - blacklist | 213 | img_types = all_image_types - blacklist |
214 | 214 | ||
215 | config = 'IMAGE_FSTYPES += "%s"\n'\ | 215 | config = 'IMAGE_FSTYPES += "%s"\n'\ |