On Saturday, July 30, 2022 at 5:37:19 PM UTC+2 Steve wrote:
> images: (
> {
> filename = "file.tar.xz";
> type = "archive";
> device = "/dev/sda2";
> filesystem = "ext4"
> compressed = "zstd";
If you specify 'compressed' here swupdate will try to decompress before
passing the archive along to the archive handler -- with the compression
algorithm you specified.
If your file is xz, it's not zstd or gz (zlib) so it's obvious these
will error out.
In this particular case the archive handler can also handle compression
itself, so you can probably just remove the compressed line here.
If that doesn't work, just recompress the archive as zstd or gzip
yourself
--
Dominique