Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: bin/, /
Date: Thu, 29 Sep 2022 20:45:49
Message-Id: 1664484339.ca3c952992ad71181ca8f30d03151c771ec7ae2c.sam@gentoo
1 commit: ca3c952992ad71181ca8f30d03151c771ec7ae2c
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 29 06:37:19 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 29 20:45:39 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=ca3c9529
7
8 bin: ecompress: zstd: set --rm --quiet in PORTAGE_COMPRESS_FLAGS
9
10 This is needed to act like other compressors.
11
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 NEWS | 3 +++
15 bin/ecompress | 2 +-
16 2 files changed, 4 insertions(+), 1 deletion(-)
17
18 diff --git a/NEWS b/NEWS
19 index dced9688a..6ca656008 100644
20 --- a/NEWS
21 +++ b/NEWS
22 @@ -32,6 +32,9 @@ Bug fixes:
23 * bin: ecompress: zstd: Recognize .zst as a compressed file suffix for the purposes
24 of the internal compressed file collision check.
25
26 +* bin: ecompress: zstd: Set '-q --rm' in PORTAGE_COMPRESS_FLAGS to behave
27 + like other compressors.
28 +
29 portage-3.0.37 (2022-09-23)
30 --------------
31
32
33 diff --git a/bin/ecompress b/bin/ecompress
34 index 7fb2b9c00..96a83e4b4 100755
35 --- a/bin/ecompress
36 +++ b/bin/ecompress
37 @@ -129,7 +129,7 @@ if [[ ${PORTAGE_COMPRESS_FLAGS+set} != "set" ]] ; then
38 # Setting '--rm' will remove the source files after a successful compression.
39 lz4) PORTAGE_COMPRESS_FLAGS="-m --rm";;
40 xz) PORTAGE_COMPRESS_FLAGS="-9 -T$(__makeopts_jobs)";;
41 - zstd) PORTAGE_COMPRESS_FLAGS="-T$(__makeopts_jobs)";;
42 + zstd) PORTAGE_COMPRESS_FLAGS="-q --rm -T$(__makeopts_jobs)";;
43 esac
44 fi