From d9fa31feda56ce0b8fbf3c59999339566279fc3c Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Sun, 7 Sep 2025 17:11:13 +0000 Subject: Implemented compression method selection --- squashfu.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'squashfu.conf') diff --git a/squashfu.conf b/squashfu.conf index 67012a9..f15b83d 100644 --- a/squashfu.conf +++ b/squashfu.conf @@ -55,6 +55,16 @@ DEL_BIN_ON_FAIL=(1) # not be true incrementals. See 'man rsync' for more info. RSYNC_OPTS=("-Rua" "--delete" "--stats") +# Select compression algorithm. +# Available options: gzip, lzo, lz4, xz, zstd, lzma +# For details, see mksquashfs manpage. +COMPRESSION_ALGO="zstd" + +# Add options for compression algorithm. +# For zstd, only compression level is configurable. +# For other compression algorithms, see mksquashfs manpage. +COMPRESSION_ARGS=("-Xcompression-level" 15) + # The following defines what will and won't be backed up. These are # simply Bash arrays and are interpreted as such. -- cgit v1.2.3