Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o, Francesco Riosa <vivo75@×××××.com>, Brian Dolbec <dolsen@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH] Default BINPKG_COMPRESSION to zstd (bug 715108)
Date: Tue, 26 May 2020 04:49:38
Message-Id: 2b7e05f6-bf00-8b0a-3fc3-f68c1e024e8e@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] Default BINPKG_COMPRESSION to zstd (bug 715108) by Francesco Riosa
1 On 5/12/20 1:28 AM, Francesco Riosa wrote:
2 >
3 > Il 11/05/20 22:21, Brian Dolbec ha scritto:
4 >> On Sun, 10 May 2020 19:29:34 -0700
5 >> Zac Medico <zmedico@g.o> wrote:
6 >>
7 >>> This includes a _compat_upgrade.binpkg_compression script that the
8 >>> ebuild can call in pkg_preinst in order to maintain a
9 >>> backward-compatible bzip2 default when appropriate, ensuring that
10 >>> binary package consumers are not caught off guard.
11 >
12 > [snip]
13 >
14 > For your interest, the binpkg archive for a small LAMP container goes
15 > from 659 to 540 MB, the "--rm" flag isn't really needed for binpkgs but
16 > it help reminder that zstd is the only one that does _not_ remove the
17 > original file after compression
18 >
19 > BINPKG_COMPRESS="zstd"
20 > BINPKG_COMPRESS_FLAGS="--rm --long --threads=1 --adapt=min=7,max=19"
21
22 I'm using those flag now. Thanks!
23 --
24 Thanks,
25 Zac

Attachments

File name MIME type
signature.asc application/pgp-signature