Add a note about better compression

This commit is contained in:
Kron4ek 2022-04-06 00:48:09 +05:00 committed by GitHub
parent e55b1e6869
commit 485cb07a64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,10 @@ script_dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
squashfs_compressor="lz4" squashfs_compressor="lz4"
squashfs_compressor_arguments="-b 256K -comp ${squashfs_compressor} -Xhc" 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 # Use dwarfs instead of squashfs
dwarfs="false" dwarfs="false"
dwarfs_compressor_arguments="-l7 -C zstd:level=19 --metadata-compression null \ dwarfs_compressor_arguments="-l7 -C zstd:level=19 --metadata-compression null \