diff options
author | Leonard Kugis <leonard@kug.is> | 2025-09-07 17:11:13 +0000 |
---|---|---|
committer | Leonard Kugis <leonard@kug.is> | 2025-09-07 17:11:13 +0000 |
commit | d9fa31feda56ce0b8fbf3c59999339566279fc3c (patch) | |
tree | fac7075876cd78d605b1e61cd8496aa01b5545b4 /squashfu.conf | |
parent | 3a32274b9e7f25b464b9df1469091e72a2bf67ee (diff) | |
download | squashfu-d9fa31feda56ce0b8fbf3c59999339566279fc3c.tar.gz |
Implemented compression method selection
Diffstat (limited to 'squashfu.conf')
-rw-r--r-- | squashfu.conf | 10 |
1 files changed, 10 insertions, 0 deletions
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. |