From 3ae079dc5650e5af73516198b429d56d9131d637 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 13 Jan 2012 14:34:58 -0500 Subject: 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 --- pym/_emerge/EbuildPhase.py | 6 ++++-- pym/portage/const.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'pym') 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", -- cgit v1.2.3-1-g7c22