Summary: | sys-apps/portage: support BINPKG_COMPRESS setting that disables compression | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Zac Medico <zmedico> |
Component: | Binary packages support | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flippynelle |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 651804 |
Description
Zac Medico
![]() Maybe call it BINPKG_COMPRESS="cat". We could use and empty BINPKG_COMPRESS setting to indicate absence of compression, for consistency with PORTAGE_COMPRESS behavior. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=2b40f119d4334bd3d4bcd2824f575700963b40ef commit 2b40f119d4334bd3d4bcd2824f575700963b40ef Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2018-05-02 01:27:30 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2018-05-02 01:49:03 +0000 BINPKG_COMPRESS: allow empty setting to disable compression (bug 654456) In some cases it might make sense to disable compression, so allow an empty setting to disable compression (consistent with PORTAGE_COMPRESS). Bug: https://bugs.gentoo.org/654456 bin/misc-functions.sh | 2 +- bin/quickpkg | 11 +++++++++-- pym/_emerge/BinpkgExtractorAsync.py | 16 ++++++++++++---- pym/portage/package/ebuild/doebuild.py | 6 +++++- 4 files changed, 27 insertions(+), 8 deletions(-) Fixed in portage-2.3.40-r1. |