summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2016-07-31 20:02:27 +0200
committerHolger Levsen <holger@layer-acht.org>2016-08-01 14:02:30 -0400
commit862643b7e777d87fd59a6cae0093f468f3cc4bee (patch)
tree632bcb7b46c8ac4168abc70b583b931d8e516a9d /bin/reproducible_build.sh
parent87c8dd5b8537a5385f707843386c5a2ef29e07a6 (diff)
downloadjenkins.debian.net-862643b7e777d87fd59a6cae0093f468f3cc4bee.tar.xz
reproducible debian: vary build path on testing/i386
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index f32fcb5d..966c806a 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -594,6 +594,10 @@ export LANG="C"
unset LC_ALL
export LANGUAGE="en_US:en"
EOF
+ # build path is for now only varied on testing/i386
+ if [ "${ARCH}" = "i386" -a "${SUITE}" = "testing" ]; then
+ echo "BUILDDIR=/build-1st" >> "$TMPCFG"
+ fi
# remember to change the sudoers setting if you change the following command
# FIXME: call with --buildinfo-identifier=dummy instead and below
( sudo timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice \
@@ -648,6 +652,10 @@ export LC_ALL="$locale.UTF-8"
export LANGUAGE="$locale:$language"
umask 0002
EOF
+ # build path is for now only varied on testing/i386
+ if [ "${ARCH}" = "i386" -a "${SUITE}" = "testing" ]; then
+ echo "BUILDDIR=/build-2nd" >> "$TMPCFG"
+ fi
set +e
# remember to change the sudoers setting if you change the following command
# (the 2nd build gets a longer timeout trying to make sure the first build