diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2021-01-08 13:59:59 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2021-01-18 10:18:50 +0200 |
commit | 0ab151ab138fd4fb6d3176fd0270d9cc6f4623f3 (patch) | |
tree | e1119720c02dfec5c54c91a750890bbc1cf97051 /platform.in | |
parent | cb6aa82dbc10d554f8d234e934ae7c77e39a3ce2 (diff) | |
download | rpm-0ab151ab138fd4fb6d3176fd0270d9cc6f4623f3.tar.gz |
Ensure ELF files get stripped when debuginfo is disabled
Depending on libmagic version, PIE executables can be reported as
"shared object" avoiding the strip. And so will any libraries because
we're explicitly skipping them for whatever historical reason - perhaps
because there's a separate script for stripping the libraries, but that
has been never enabled in rpm, and relying on "file" strings to do this
is hopelessly unreliable.
Also drop file permissions checks: making shared libraries executable
just to have them stripped is not sensical, especially in the light of
commit 80818e4f902ba3cf85e4cfcd8a7a4c71c601f3cf
Reported once upon time as RhBug:988812 and later RhBug:1634084
Diffstat (limited to 'platform.in')
0 files changed, 0 insertions, 0 deletions