Gentoo Archives: gentoo-user

From: fruktopus <fruktopus@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] PORTAGE_COMPRESS
Date: Wed, 02 Apr 2014 20:47:22
Message-Id: 533C777E.3000402@gmail.com
In Reply to: Re: [gentoo-user] PORTAGE_COMPRESS by Douglas J Hunley
1 Am 02.04.2014 22:02, schrieb Douglas J Hunley:
2 >
3 > On Wed, Apr 2, 2014 at 2:29 PM, Alan McKinnon <alan.mckinnon@×××××.com
4 > <mailto:alan.mckinnon@×××××.com>> wrote:
5 >
6 > man 5 make.conf
7 >
8 >
9 > What isn't listed in the man page is if you should simply unset it:
10 > PORTAGE_COMPRESS=""
11 > or set it to something like /bin/true
12 >
13 > Any thoughts?
14
15 I just checked portages git repository. The interesting file is
16 bin/ebuild-helpers/ecompress [1]
17
18 There we have:
19
20 12 # setup compression stuff
21 13 PORTAGE_COMPRESS=${PORTAGE_COMPRESS-bzip2}
22 14 [[ -z ${PORTAGE_COMPRESS} ]] && exit 0
23
24 If PORTAGE_COMPRESS is not declared it defaults to bzip2. If it is
25 declared, but without value or empty the script exits. So a
26
27 PORTAGE_COMPRESS=""
28
29 should be fine.
30
31 ~frukto
32
33 ----
34 [1]
35 http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=blob;f=bin/ebuild-helpers/ecompress;hb=d8345b546c4212d928b38b972921879ef9fa466c