commit:     8a1d36088aa54ecb087e76fef166d51a6d5383f7
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 25 20:58:40 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Sep 25 21:01:15 2018 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=8a1d3608

Revert "ecompress: Run compression in parallel" (bug 667072)

This reverts commit 289d9a17dc9d9287e5dcb75f84b38ad0388e5fde.
The parallel ecompress-file calls can interfere with eachoter
if a file is installed with both compressed and uncompressed
forms. Since compressed files are typically very small,
parallel compression is typically not very helpful anyway.

Bug: https://bugs.gentoo.org/667072
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 bin/ecompress | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/ecompress b/bin/ecompress
index 36bdb585b..434456f0c 100755
--- a/bin/ecompress
+++ b/bin/ecompress
@@ -139,8 +139,8 @@ fix_symlinks() {
 }
 
 export PORTAGE_COMPRESS PORTAGE_COMPRESS_FLAGS
-find "${ED}" -name '*.ecompress' -delete -print0 |
-       ___parallel_xargs -0 "${PORTAGE_BIN_PATH}"/ecompress-file
+find "${ED}" -name '*.ecompress' -delete \
+       -exec "${PORTAGE_BIN_PATH}"/ecompress-file {} +
 ret=${?}
 
 fix_symlinks

Reply via email to