make-system-tarball: use pixz -t

Pass `-t` to pixz to prevent it from appending an index to the end of
the uncompressed stream, confusing tools such as `machinectl import-tar`.

Fixes: #187816
This commit is contained in:
Ivan Shapovalov 2022-08-22 05:28:34 +03:00
parent 994fa61c56
commit ac18c55b56

View File

@ -22,7 +22,7 @@
# Extra tar arguments
, extraArgs ? ""
# Command used for compression
, compressCommand ? "pixz"
, compressCommand ? "pixz -t"
# Extension for the compressed tarball
, compressionExtension ? ".xz"
# extra inputs, like the compressor to use