[Reproducible-builds] [misc] 01/01: diffp: Also poke at ELF in */bin/*

Jérémy Bobbio lunar at alioth.debian.org
Tue Sep 10 20:00:51 UTC 2013


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch master
in repository misc.

commit 2c7d3aa1568daf5e2f2b05a9707e40aefd1d6ffc
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Tue Sep 10 20:00:00 2013 +0000

    diffp: Also poke at ELF in */bin/*
---
 diffp |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/diffp b/diffp
index beafc53..cf22722 100755
--- a/diffp
+++ b/diffp
@@ -16,6 +16,15 @@ get_ops() {
 	local file="$1"
 
 	case "$file" in
+	    */bin/*|*/sbin/*)
+		case "$(ar p $PACKAGE_A data.tar.xz | tar -JxOf - $file | file -)" in
+		    *ELF*)
+			echo "readelf -a FILE"
+			echo "readelf -w FILE"
+			echo "objdump -d FILE"
+			;;
+		esac
+		;;
 	    *.so|*.so.[0-9]*)
 		echo "readelf -a FILE"
 		echo "readelf -w FILE"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-builds mailing list