https://bugzilla.novell.com/show_bug.cgi?id=877078
https://bugzilla.novell.com/show_bug.cgi?id=877078#c2
--- Comment #2 from Johannes Obermayr 2014-05-09 15:44:17 UTC ---
Maybe:
Index: rpm-check.sh
===================================================================
--- rpm-check.sh (revision 1)
+++ rpm-check.sh (working copy)
@@ -460,9 +460,10 @@
head -n 200 $dfile
return 1
fi
- objdump -s old/$file > $file1
+ filter="-j $(objdump -h old/$file | sed -r "s:.*(\.[^ ]*).*:\1:g" |
grep ^[.] | grep -v -e "\.so" -e "\.build-id" -e "\.gnu_debuglink" -e "\.bss"
| sort -u | tr "\n" " -j")"
+ objdump -s $filter old/$file > $file1
sed -i -e "s,old/,," $file1
- objdump -s new/$file > $file2
+ objdump -s $filter new/$file > $file2
sed -i -e "s,new/,," $file2
if ! diff -u $file1 $file2 > $dfile; then
echo "$file differs in ELF sections"
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.