[Reproducible-commits] [misc] 01/01: prebuilder: assure a stable .buildinfo filename with the newer dpkg
Mattia Rizzolo
mattia at debian.org
Mon Jan 18 20:05:24 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository misc.
commit 642e20fae07feb6af99d4d1ffc7a34555d361274
Author: Mattia Rizzolo <mattia at debian.org>
Date: Mon Jan 18 20:05:18 2016 +0000
prebuilder: assure a stable .buildinfo filename with the newer dpkg
---
prebuilder/rebuild.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/prebuilder/rebuild.sh b/prebuilder/rebuild.sh
index 3331129..0a687f4 100755
--- a/prebuilder/rebuild.sh
+++ b/prebuilder/rebuild.sh
@@ -5,6 +5,7 @@ USE_COWBUILDER=
SCRIPT_PATH="$(realpath $(which "$0"))"
SCRIPT_DIR="$(dirname $SCRIPT_PATH)"
NUM_CPU="$(grep -c '^processor' /proc/cpuinfo)"
+ARCH="$(dpkg --print-architecture)"
while getopts b:c o; do
case $o in
@@ -38,7 +39,7 @@ sudo \
DEB_BUILD_OPTIONS="parallel=$((NUM_CPU+1)) nocheck" \
TZ="/usr/share/zoneinfo/Etc/GMT+12" \
unshare --uts -- $BUILDER --build $BUILDER_OPTS \
- --debbuildopts '-b' \
+ --debbuildopts '-b --buildinfo-identifier=${ARCH}' \
--buildresult b1 \
--logfile logs/${PACKAGE}.build1 \
${PACKAGE}_*.dsc
@@ -60,7 +61,7 @@ sudo \
DEB_BUILD_OPTIONS="parallel=$NUM_CPU nocheck" \
linux64 --uname-2.6 unshare --uts -- $BUILDER --build $BUILDER_OPTS \
--configfile "$SCRIPT_DIR/pbuilderrc.rebuild" \
- --debbuildopts '-b' \
+ --debbuildopts '-b --buildinfo-identifier=${ARCH}' \
--buildresult b2 \
--logfile logs/${PACKAGE}.build2 \
--hookdir "$SCRIPT_DIR/pbuilderhooks" \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git
More information about the Reproducible-commits
mailing list