debuginfo: Do not try to use eu-elfcompress if it does not exist
Reason:ae1ecef8
("process-debuginfo: Do not call eu-elfcompress if it doesn't exist") Fixes:8682814b
("debuginfo: Try to uncompress if debugedit failed to extract sources list")
This commit is contained in:
parent
b9ea232966
commit
453b0907f5
@ -60,7 +60,7 @@ done
|
||||
|
||||
timestamp=$(date --iso-8601=ns --reference="$f")
|
||||
@RPMCONFIGDIR@/debugedit -b "$RPM_BUILD_DIR" -d /usr/src/debug -l .tmp/src.$$ "$f"
|
||||
if [ ! -s .tmp/src.$$ ]; then
|
||||
if [ ! -s .tmp/src.$$ ] && [ -x /usr/bin/eu-elfcompress ]; then
|
||||
# debugedit has failed to extract sources list, possibly
|
||||
# due to ELF compression - uncompress and try again.
|
||||
LD_ORIGIN_PATH=/usr/bin eu-readelf -S "$f" > .tmp/sections.$$
|
||||
|
Loading…
Reference in New Issue
Block a user