From 9796f8ee2f13b0c72ab5d0fc3b9cc32cb8a323e54918a5e572382070268b0542 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 22 Jul 2014 07:29:15 +0000 Subject: [PATCH] Accepting request 241816 from home:msmeissn:branches:openSUSE:Tools - if all ELF sections except build-id and .gnu_debuglink compare equal, this is the same binary. OBS-URL: https://build.opensuse.org/request/show/241816 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=147 --- build-compare.changes | 6 ++++++ rpm-check.sh | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/build-compare.changes b/build-compare.changes index edc9e0c..661fcd5 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jul 22 06:45:25 UTC 2014 - meissner@suse.com + +- if all ELF sections except build-id and .gnu_debuglink compare equal, + this is the same binary. + ------------------------------------------------------------------- Thu Jul 17 06:46:47 UTC 2014 - meissner@suse.com diff --git a/rpm-check.sh b/rpm-check.sh index 0494b71..97402c9 100644 --- a/rpm-check.sh +++ b/rpm-check.sh @@ -486,7 +486,8 @@ check_single_file() echo "$file differs in ELF sections" head -n 200 $dfile else - echo "WARNING: no idea about $file" + echo "$file: only difference was in build-id or gnu_debuglink, GOOD." + return 0 fi return 1 ;;