Skip to content

Commit f6acc1e

Browse files
committed
scripts/rsync-generation/mksnapshot: disable all but bz2 snapshots
who am I kidding, the bootstrap and the mirror retaining is all hardwired to bz2, and other compression formats don't really make a big enough dent to warrant lots of changes to allow picking a different compresion format disable all but bz2, that's the only thing we use afterall Signed-off-by: Fabian Groffen <[email protected]>
1 parent 9edffa4 commit f6acc1e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

scripts/rsync-generation/mksnapshot.sh

+8-2
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,16 @@ popd > /dev/null || exit 1
4444

4545
rm -Rf "${TMPDIR}"
4646

47+
# The differences in size (57/52/47MB) for bz2,zstd,lz are not really that
48+
# big considering gzip's size (75MB) but the bootstrap-prefix script and
49+
# the logic above rely on .bz2 snapshot, so in reality no other format
50+
# than bzip2-compressed is necessary. Since bzip2 is available
51+
# everywhere, or bootstrapped just fine for a long long time, stick with
52+
# it, for it is good enough for its purpose here
4753
COMPRS=(
4854
"bz2:bzip2 -c -9"
49-
"lz:lzip -c -9"
50-
"zst:zstd -c -19"
55+
# "lz:lzip -c -9"
56+
# "zst:zstd -c -19"
5157
)
5258

5359
# produce compressed variants, use as much cpu as left on the system, do

0 commit comments

Comments
 (0)