commit: f6acc1e57a57e74b0424973a5c79d07feeb74eee Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Sun Mar 31 10:24:42 2024 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Sun Mar 31 10:24:42 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=f6acc1e5
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 <grobian <AT> gentoo.org> scripts/rsync-generation/mksnapshot.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/rsync-generation/mksnapshot.sh b/scripts/rsync-generation/mksnapshot.sh index 5b8776b45e..4d45ef2727 100755 --- a/scripts/rsync-generation/mksnapshot.sh +++ b/scripts/rsync-generation/mksnapshot.sh @@ -44,10 +44,16 @@ popd > /dev/null || exit 1 rm -Rf "${TMPDIR}" +# The differences in size (57/52/47MB) for bz2,zstd,lz are not really that +# big considering gzip's size (75MB) but the bootstrap-prefix script and +# the logic above rely on .bz2 snapshot, so in reality no other format +# than bzip2-compressed is necessary. Since bzip2 is available +# everywhere, or bootstrapped just fine for a long long time, stick with +# it, for it is good enough for its purpose here COMPRS=( "bz2:bzip2 -c -9" - "lz:lzip -c -9" - "zst:zstd -c -19" +# "lz:lzip -c -9" +# "zst:zstd -c -19" ) # produce compressed variants, use as much cpu as left on the system, do