1 |
commit: de791662d152f3645274750d3f22b853716927aa |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 25 12:31:36 2018 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 8 21:42:11 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=de791662 |
7 |
|
8 |
estrip: Report pre-stripped files even with RESTRICT=strip |
9 |
|
10 |
The purpose of RESTRICT=strip is to prevent files from being stripped, |
11 |
not to silence QA checks about pre-stripped files. |
12 |
|
13 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
14 |
|
15 |
bin/estrip | 2 +- |
16 |
1 file changed, 1 insertion(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/bin/estrip b/bin/estrip |
19 |
index 3ee4b01ac..369755cfe 100755 |
20 |
--- a/bin/estrip |
21 |
+++ b/bin/estrip |
22 |
@@ -308,7 +308,7 @@ process_elf() { |
23 |
# The existance of the section .symtab tells us that a binary is stripped. |
24 |
# We want to log already stripped binaries, as this may be a QA violation. |
25 |
# They prevent us from getting the splitdebug data. |
26 |
-if ! ${RESTRICT_binchecks} && ! ${RESTRICT_strip} ; then |
27 |
+if ! ${RESTRICT_binchecks} ; then |
28 |
# We need to do the non-stripped scan serially first before we turn around |
29 |
# and start stripping the files ourselves. The log parsing can be done in |
30 |
# parallel though. |