summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2016-01-15 23:14:14 +0000
committerHolger Levsen <holger@layer-acht.org>2016-01-16 11:43:56 +0100
commita6ea2316c47562dd68fdc63c2434f2867992588a (patch)
treefd0c5d4f1fcfe7914ee183244b34e77dd383700f /bin
parenta8be0487a3016f766ae4ae6cbd5a3458d188d8ed (diff)
downloadjenkins.debian.net-a6ea2316c47562dd68fdc63c2434f2867992588a.tar.xz
reproducible: build: set --buildinfo-identifier=${ARHC} when calling dpkg-buildpackage, to get a stable and deterministic .buildinfo name
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh4
1 files 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 \