From 485cb07a648671c3ad7effd7cf2309d634bb4473 Mon Sep 17 00:00:00 2001 From: Kron4ek Date: Wed, 6 Apr 2022 00:48:09 +0500 Subject: [PATCH] Add a note about better compression --- create-conty.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/create-conty.sh b/create-conty.sh index 77309ce..e76d869 100755 --- a/create-conty.sh +++ b/create-conty.sh @@ -10,6 +10,10 @@ script_dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" squashfs_compressor="lz4" squashfs_compressor_arguments="-b 256K -comp ${squashfs_compressor} -Xhc" +# Uncomment these two lines if you want better compression and your mksquashfs supports zstd +#squashfs_compressor="zstd" +#squashfs_compressor_arguments="-b 1M -comp ${squashfs_compressor} -Xcompression-level 19" + # Use dwarfs instead of squashfs dwarfs="false" dwarfs_compressor_arguments="-l7 -C zstd:level=19 --metadata-compression null \