summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2024-03-31 10:43:50 +0200
committerFabian Groffen <grobian@gentoo.org>2024-03-31 10:43:50 +0200
commitbd139cb929506a78bc3eab87e2e24a8e38b3032f (patch)
treea92e8d75e278e04781855b5db12c6e8087c608d2
parentscripts/rsync-generation/mksnapshot: fix zstd file extension (diff)
downloadprefix-bd139cb929506a78bc3eab87e2e24a8e38b3032f.tar.gz
prefix-bd139cb929506a78bc3eab87e2e24a8e38b3032f.tar.bz2
prefix-bd139cb929506a78bc3eab87e2e24a8e38b3032f.zip
scripts/rsync-generation/mksnapshot: increase zstd compression level
Using -9 we end up at 58MB, which is more than gzip2's 57MB. So up the level to -19 (the max, basically like how we configure the other compressors too) to get 52MB, which is still much more than xz (48MB) and lzip (47MB). Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rwxr-xr-xscripts/rsync-generation/mksnapshot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rsync-generation/mksnapshot.sh b/scripts/rsync-generation/mksnapshot.sh
index 3accd67637..66ad8a91ed 100755
--- a/scripts/rsync-generation/mksnapshot.sh
+++ b/scripts/rsync-generation/mksnapshot.sh
@@ -49,7 +49,7 @@ COMPRS=(
"bz2:bzip2 -c -9"
"xz:xz -c -9"
"lz:lzip -c -9"
- "zst:zstd -c -k -f -9"
+ "zst:zstd -c -19"
)
# produce compressed variants, use as much cpu as left on the system, do