commit:     ca3c952992ad71181ca8f30d03151c771ec7ae2c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 29 06:37:19 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 29 20:45:39 2022 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=ca3c9529

bin: ecompress: zstd: set --rm --quiet in PORTAGE_COMPRESS_FLAGS

This is needed to act like other compressors.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 NEWS          | 3 +++
 bin/ecompress | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index dced9688a..6ca656008 100644
--- a/NEWS
+++ b/NEWS
@@ -32,6 +32,9 @@ Bug fixes:
 * bin: ecompress: zstd: Recognize .zst as a compressed file suffix for the 
purposes
   of the internal compressed file collision check.
 
+* bin: ecompress: zstd: Set '-q --rm' in PORTAGE_COMPRESS_FLAGS to behave
+  like other compressors.
+
 portage-3.0.37 (2022-09-23)
 --------------
 

diff --git a/bin/ecompress b/bin/ecompress
index 7fb2b9c00..96a83e4b4 100755
--- a/bin/ecompress
+++ b/bin/ecompress
@@ -129,7 +129,7 @@ if [[ ${PORTAGE_COMPRESS_FLAGS+set} != "set" ]] ; then
                # Setting '--rm' will remove the source files after a 
successful compression.
                lz4)  PORTAGE_COMPRESS_FLAGS="-m --rm";;
                xz)   PORTAGE_COMPRESS_FLAGS="-9 -T$(__makeopts_jobs)";;
-               zstd) PORTAGE_COMPRESS_FLAGS="-T$(__makeopts_jobs)";;
+               zstd) PORTAGE_COMPRESS_FLAGS="-q --rm -T$(__makeopts_jobs)";;
        esac
 fi
 

Reply via email to