Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>, Mike Frysinger <vapier@g.o>
Subject: [gentoo-portage-dev] [PATCH 5/7] estrip: Report pre-stripped files even with RESTRICT=strip
Date: Sun, 25 Mar 2018 20:32:40
Message-Id: 20180325202826.7827-6-zmedico@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH 0/7] Add dostrip for EAPI 7 by Zac Medico
1 From: Michał Górny <mgorny@g.o>
2
3 The purpose of RESTRICT=strip is to prevent files from being stripped,
4 not to silence QA checks about pre-stripped files.
5 ---
6 bin/estrip | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 diff --git a/bin/estrip b/bin/estrip
10 index 309a2962e..24c6a461c 100755
11 --- a/bin/estrip
12 +++ b/bin/estrip
13 @@ -301,7 +301,7 @@ process_elf() {
14 # The existance of the section .symtab tells us that a binary is stripped.
15 # We want to log already stripped binaries, as this may be a QA violation.
16 # They prevent us from getting the splitdebug data.
17 -if ! ${RESTRICT_binchecks} && ! ${RESTRICT_strip} ; then
18 +if ! ${RESTRICT_binchecks} ; then
19 # We need to do the non-stripped scan serially first before we turn around
20 # and start stripping the files ourselves. The log parsing can be done in
21 # parallel though.
22 --
23 2.13.6