Message ID | 20231113140154.1048359-1-lukas.funke-oss@weidmueller.com |
---|---|
State | New |
Headers | show |
Series | [v3] wic: rawcopy: add support for zsdt decompression | expand |
On 13/11/2023 15:01:54+0100, Lukas Funke wrote: > From: Malte Schmidt <malte.schmidt@weidmueller.com> > Please include a commit message and don't forget SoB's > --- > scripts/lib/wic/plugins/source/rawcopy.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/scripts/lib/wic/plugins/source/rawcopy.py b/scripts/lib/wic/plugins/source/rawcopy.py > index 7c90cd3cf8..82d38fbb84 100644 > --- a/scripts/lib/wic/plugins/source/rawcopy.py > +++ b/scripts/lib/wic/plugins/source/rawcopy.py > @@ -52,7 +52,8 @@ class RawCopyPlugin(SourcePlugin): > decompressor = { > ".bz2": "bzip2", > ".gz": "gzip", > - ".xz": "xz" > + ".xz": "xz", > + ".zst": "zstd -f", > }.get(extension) > if not decompressor: > raise WicError("Not supported compressor filename extension: %s" % extension) > -- > 2.30.2 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#190473): https://lists.openembedded.org/g/openembedded-core/message/190473 > Mute This Topic: https://lists.openembedded.org/mt/102561555/3617179 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com] > -=-=-=-=-=-=-=-=-=-=-=- >
diff --git a/scripts/lib/wic/plugins/source/rawcopy.py b/scripts/lib/wic/plugins/source/rawcopy.py index 7c90cd3cf8..82d38fbb84 100644 --- a/scripts/lib/wic/plugins/source/rawcopy.py +++ b/scripts/lib/wic/plugins/source/rawcopy.py @@ -52,7 +52,8 @@ class RawCopyPlugin(SourcePlugin): decompressor = { ".bz2": "bzip2", ".gz": "gzip", - ".xz": "xz" + ".xz": "xz", + ".zst": "zstd -f", }.get(extension) if not decompressor: raise WicError("Not supported compressor filename extension: %s" % extension)
From: Malte Schmidt <malte.schmidt@weidmueller.com> --- scripts/lib/wic/plugins/source/rawcopy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)