diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-01-13 14:34:58 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-01-14 16:37:24 -0500 |
commit | 3ae079dc5650e5af73516198b429d56d9131d637 (patch) | |
tree | 86cec4fe177af39d1860ce126d79b3de3edf08a9 /pym | |
parent | ac263977391643f1c147d7e767b5b804ac095d55 (diff) | |
download | portage-3ae079dc5650e5af73516198b429d56d9131d637.tar.gz portage-3ae079dc5650e5af73516198b429d56d9131d637.tar.bz2 portage-3ae079dc5650e5af73516198b429d56d9131d637.zip |
add support for compressing debug sections to save space
Since binutils/gdb can compress the .debug* sections with zlib into
.zdebug*, we should be able to save quite a bit of space -- on my
system, I saw /usr/lib/debug/ go from ~20GB to ~7.5GB.
This requires binutils/gdb to be built with USE=zlib which is why
this defaults to off.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'pym')
-rw-r--r-- | pym/_emerge/EbuildPhase.py | 6 | ||||
-rw-r--r-- | pym/portage/const.py | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/pym/_emerge/EbuildPhase.py b/pym/_emerge/EbuildPhase.py index ed0be0b0e..27944f413 100644 --- a/pym/_emerge/EbuildPhase.py +++ b/pym/_emerge/EbuildPhase.py @@ -33,11 +33,13 @@ class EbuildPhase(CompositeTask): ("_ebuild_lock",) # FEATURES displayed prior to setup phase - _features_display = ("ccache", "distcc", "distcc-pump", "fakeroot", + _features_display = ( + "ccache", "compressdebug", "distcc", "distcc-pump", "fakeroot", "installsources", "keeptemp", "keepwork", "nostrip", "preserve-libs", "sandbox", "selinux", "sesandbox", "splitdebug", "suidctl", "test", "userpriv", - "usersandbox") + "usersandbox" + ) # Locked phases _locked_phases = ("setup", "preinst", "postinst", "prerm", "postrm") diff --git a/pym/portage/const.py b/pym/portage/const.py index 5fcb24f73..bebb92203 100644 --- a/pym/portage/const.py +++ b/pym/portage/const.py @@ -88,7 +88,7 @@ EBUILD_PHASES = ("pretend", "setup", "unpack", "prepare", "configure" SUPPORTED_FEATURES = frozenset([ "assume-digests", "binpkg-logs", "buildpkg", "buildsyspkg", "candy", "ccache", "chflags", "clean-logs", - "collision-protect", "compress-build-logs", + "collision-protect", "compress-build-logs", "compressdebug", "config-protect-if-modified", "digest", "distcc", "distcc-pump", "distlocks", "ebuild-locks", "fakeroot", "fail-clean", "force-mirror", "force-prefix", "getbinpkg", |