diff options
author | Mattia Rizzolo <mattia@debian.org> | 2016-05-13 09:10:14 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@debian.org> | 2016-05-13 09:10:14 +0000 |
commit | 3d3407717981dffc84cb57be0c5b9cdf1f39253d (patch) | |
tree | 3a58e068f82f190279a6e476b87e5cc4cd0f6549 /bin | |
parent | 24f6c1353ebb071cee373e5a2238f5320b2b34fa (diff) | |
download | jenkins.debian.net-3d3407717981dffc84cb57be0c5b9cdf1f39253d.tar.xz |
reproducible debian: check for Installed-Build-Depends instead of the old Build-Environment when comparing .buildinfo to assure the same env is installed
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index e7a5b30a..57e4edff 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -684,8 +684,8 @@ remote_build() { check_buildinfo() { local TMPFILE1=$(mktemp --tmpdir=$TMPDIR) local TMPFILE2=$(mktemp --tmpdir=$TMPDIR) - grep-dctrl -s Build-Environment -n ${SRCPACKAGE} ./b1/$BUILDINFO > $TMPFILE1 - grep-dctrl -s Build-Environment -n ${SRCPACKAGE} ./b2/$BUILDINFO > $TMPFILE2 + grep-dctrl -s Installed-Build-Depends -n ${SRCPACKAGE} ./b1/$BUILDINFO > $TMPFILE1 + grep-dctrl -s Installed-Build-Depends -n ${SRCPACKAGE} ./b2/$BUILDINFO > $TMPFILE2 set +e diff $TMPFILE1 $TMPFILE2 RESULT=$? @@ -699,7 +699,7 @@ check_buildinfo() { echo get_node_ssh_port $NODE1 remote_build 1 $NODE1 $PORT - grep-dctrl -s Build-Environment -n ${SRCPACKAGE} ./b1/$BUILDINFO > $TMPFILE1 + grep-dctrl -s Installed-Build-Depends -n ${SRCPACKAGE} ./b1/$BUILDINFO > $TMPFILE1 set +e diff $TMPFILE1 $TMPFILE2 RESULT=$? |