public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/portage:master commit in: bin/, lib/portage/util/
@ 2022-10-17 22:12 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2022-10-17 22:12 UTC (permalink / raw
  To: gentoo-commits

commit:     041da67db3a61d19fa5b287db4da9c51794af115
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 22:07:58 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 22:12:04 2022 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=041da67d

xz: pass -q to xz

Avoids noise from memlimit-compress.

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

 bin/ecompress                         | 2 +-
 lib/portage/util/compression_probe.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/ecompress b/bin/ecompress
index e78d6931f..78a53ccac 100755
--- a/bin/ecompress
+++ b/bin/ecompress
@@ -128,7 +128,7 @@ if [[ ${PORTAGE_COMPRESS_FLAGS+set} != "set" ]] ; then
 		# See: https://bugs.gentoo.org/672916
 		# 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) --memlimit-compress=50%";;
+		xz)   PORTAGE_COMPRESS_FLAGS="-9 -T$(___makeopts_jobs) --memlimit-compress=50% -q";;
 		zstd) PORTAGE_COMPRESS_FLAGS="-q --rm -T$(___makeopts_jobs)";;
 	esac
 fi

diff --git a/lib/portage/util/compression_probe.py b/lib/portage/util/compression_probe.py
index ddd8cf9ad..66c7aeb47 100644
--- a/lib/portage/util/compression_probe.py
+++ b/lib/portage/util/compression_probe.py
@@ -37,7 +37,7 @@ _compressors = {
         "package": "app-arch/lzop",
     },
     "xz": {
-        "compress": "xz -T{JOBS} --memlimit-compress=50% ${BINPKG_COMPRESS_FLAGS}",
+        "compress": "xz -T{JOBS} --memlimit-compress=50% -q ${BINPKG_COMPRESS_FLAGS}",
         "decompress": "xz -T{JOBS} -d",
         "package": "app-arch/xz-utils",
     },


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-17 22:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-17 22:12 [gentoo-commits] proj/portage:master commit in: bin/, lib/portage/util/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox