From b3a6959b9d383bb602c616668c3866e312ff6dbf Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Mon, 5 Nov 2018 20:21:28 +0100 Subject: Support disabling stripping for binary packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Similarly to FEATURES=binpkg-docompress, implement FEATURES=binpkg-dostrip that controls whether stripping occurs before or after building the binary package. This makes it possible to build binary packages with some debug information that is stripped upon installing. Afterwards, the binary packages can be reinstalled with debug info (either via nostrip or splitdebug). Real usability of this feature will be limited by optimization levels applied but still, it's better than nothing. Signed-off-by: Michał Górny Reviewed-by: Zac Medico --- man/make.conf.5 | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'man') diff --git a/man/make.conf.5 b/man/make.conf.5 index ec03c93ca..f69afd015 100644 --- a/man/make.conf.5 +++ b/man/make.conf.5 @@ -1,4 +1,4 @@ -.TH "MAKE.CONF" "5" "Feb 2016" "Portage VERSION" "Portage" +.TH "MAKE.CONF" "5" "Nov 2018" "Portage VERSION" "Portage" .SH "NAME" make.conf \- custom settings for Portage .SH "SYNOPSIS" @@ -281,6 +281,14 @@ package. When this option is enabled (the default), documentation files are already compressed inside binary packages. When it is disabled, binary packages contain uncompressed documentation and Portage compresses it before installing. .TP +.B binpkg\-dostrip +Perform file stripping before creating binary package. When this option is +enabled (the default), executables are already stripped inside binary packages. +When it is disabled, binary packages contain unstripped executables and Portage +strips (or splits) them before installing. + +\fBbinpkg\-dostrip\fR must be enabled for \fBinstallsources\fR to work. +.TP .B binpkg\-logs Keep logs from successful binary package merges. This is relevant only when \fBPORT_LOGDIR\fR is set. @@ -445,8 +453,9 @@ Enable portage support for the icecream package. .TP .B installsources Install source code into /usr/src/debug/${CATEGORY}/${PF} (also see -\fBsplitdebug\fR). This feature works only if debugedit is installed and CFLAGS -is set to include debug information (such as with the \-ggdb flag). +\fBsplitdebug\fR). This feature works only if debugedit is installed, CFLAGS +is set to include debug information (such as with the \-ggdb flag) +and \fBbinpkg-dostrip\fR is enabled. .TP .B ipc\-sandbox Isolate the ebuild phase functions from host IPC namespace. Supported -- cgit v1.2.3-18-g5258