Use native xz

This commit is contained in:
Werner 2023-04-17 16:57:43 +02:00 committed by Igor Pečovnik
parent 115cb80a04
commit 945bb6dff9

View File

@ -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