diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-09-09 02:33:51 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-09-09 02:33:51 +0900 |
commit | bceda01e970b75fd3a50774e0324a6b18b195902 (patch) | |
tree | e28f92e86b754456903475ffd6a176c88fa97fc2 /packaging/finddebuginfo.diff | |
parent | 4491550176b76280519a0c6482b4bf29b013fe51 (diff) | |
download | rpm-bceda01e970b75fd3a50774e0324a6b18b195902.tar.gz rpm-bceda01e970b75fd3a50774e0324a6b18b195902.tar.bz2 rpm-bceda01e970b75fd3a50774e0324a6b18b195902.zip |
tizen 2.3.1 releasetizen_2.3.1_releasesubmit/tizen_2.3.1/20150915.100840tizen_2.3.1
Diffstat (limited to 'packaging/finddebuginfo.diff')
-rw-r--r-- | packaging/finddebuginfo.diff | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packaging/finddebuginfo.diff b/packaging/finddebuginfo.diff index 3d1245e..e3bf4d5 100644 --- a/packaging/finddebuginfo.diff +++ b/packaging/finddebuginfo.diff @@ -39,17 +39,17 @@ - -print | -file -N -f - | sed -n -e 's/^\(.*\):[ ]*.*ELF.*, not stripped/\1/p' | -xargs --no-run-if-empty stat -c '%h %D_%i %n' | -+find $RPM_BUILD_ROOT ! -path "${debugdir}/*.debug" -type f \( -perm +111 -or -name "*.so*" -or -name "*.ko" \) -print 0 | sort -z | -+xargs --no-run-if-empty -0 stat -c '%h %D_%i %n' | ++find $RPM_BUILD_ROOT ! -path "${debugdir}/*.debug" -type f \( -perm +111 -or -name "*.so*" -or -name "*.ko" \) -print | ++file -N -f - | sed -n -e 's/^\(.*\):[ ]*.*ELF.*, not stripped/\1/p' | ++xargs --no-run-if-empty stat -c '%h %D_%i %n' | while read nlinks inum f; do + case $(objdump -h $f 2>/dev/null | egrep -o '(debug[\.a-z_]*|gnu.version)') in + *debuglink*) continue ;; + *debug*) ;; + *gnu.version*) -+ echo "WARNING: "`echo $f | sed -e "s,^$RPM_BUILD_ROOT/*,/,"`" is already stripped!" -+ continue ++ echo "WARNING: "`echo $f | sed -e "s,^$RPM_BUILD_ROOT/*,/,"`" has no debug info!" + ;; -+ *) continue ;; ++ *) ;; + esac get_debugfn "$f" [ -f "${debugfn}" ] && continue |