From a6ea2316c47562dd68fdc63c2434f2867992588a Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 15 Jan 2016 23:14:14 +0000 Subject: reproducible: build: set --buildinfo-identifier=${ARHC} when calling dpkg-buildpackage, to get a stable and deterministic .buildinfo name --- bin/reproducible_build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 5f7b9b90..3b5aee9a 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -558,7 +558,7 @@ EOF ( sudo timeout -k 12.1h 12h /usr/bin/ionice -c 3 /usr/bin/nice \ /usr/sbin/pbuilder --build \ --configfile $TMPCFG \ - --debbuildopts "-b" \ + --debbuildopts "-b --buildinfo-identifier=${ARCH}" \ --basetgz /var/cache/pbuilder/$SUITE-reproducible-base.tgz \ --buildresult $TMPDIR/b1 \ --logfile b1/build.log \ @@ -603,7 +603,7 @@ EOF /usr/sbin/pbuilder --build \ --configfile $TMPCFG \ --hookdir /etc/pbuilder/rebuild-hooks \ - --debbuildopts "-b" \ + --debbuildopts "-b --buildinfo-identifier=${ARCH}" \ --basetgz /var/cache/pbuilder/$SUITE-reproducible-base.tgz \ --buildresult $TMPDIR/b2 \ --logfile b2/build.log \ -- cgit v1.2.3-70-g09d2