aboutsummaryrefslogtreecommitdiffstats
path: root/squashfu.conf
diff options
context:
space:
mode:
Diffstat (limited to 'squashfu.conf')
-rw-r--r--squashfu.conf10
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.