Use native xz
This commit is contained in:
parent
115cb80a04
commit
945bb6dff9
@ -37,8 +37,8 @@ function output_images_compress_and_checksum() {
|
||||
uncompressed_file_basename=$(basename "${uncompressed_file}")
|
||||
|
||||
if [[ $COMPRESS_OUTPUTIMAGE == *xz* ]]; then
|
||||
display_alert "Compressing with pixz" "${uncompressed_file_basename}.xz" "info"
|
||||
pixz -1 "${uncompressed_file}" # "If pixz is provided with input but no output, it will delete the input"
|
||||
display_alert "Compressing with xz" "${uncompressed_file_basename}.xz" "info"
|
||||
xz -T 0 -1 "${uncompressed_file}" # "If xz is provided with input but no output, it will delete the input"
|
||||
compression_type=".xz"
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user