Discussion:
[gentoo-portage-dev] [PATCH] estrip: Report pre-stripped files even with RESTRICT=strip
Zac Medico
2018-10-02 19:01:11 UTC
Permalink
From: Michał Górny <***@gentoo.org>

The purpose of RESTRICT=strip is to prevent files from being stripped,
not to silence QA checks about pre-stripped files.

Signed-off-by: Zac Medico <***@gentoo.org>
---
bin/estrip | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/estrip b/bin/estrip
index 3ee4b01ac..369755cfe 100755
--- a/bin/estrip
+++ b/bin/estrip
@@ -308,7 +308,7 @@ process_elf() {
# The existance of the section .symtab tells us that a binary is stripped.
# We want to log already stripped binaries, as this may be a QA violation.
# They prevent us from getting the splitdebug data.
-if ! ${RESTRICT_binchecks} && ! ${RESTRICT_strip} ; then
+if ! ${RESTRICT_binchecks} ; then
# We need to do the non-stripped scan serially first before we turn around
# and start stripping the files ourselves. The log parsing can be done in
# parallel though.
--
2.16.4
Loading...