summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2015-02-25 19:53:05 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-25 20:01:00 +0100
commit217ea400905735f32c8ae66bf0781a7de33befda (patch)
treef908a0e194d3ad610b482d7fffc554e8a148fb2c /bin/reproducible_build.sh
parent56ebb9b1554a9940bb3602a2276126809ab5e94c (diff)
downloadjenkins.debian.net-217ea400905735f32c8ae66bf0781a7de33befda.tar.xz
reproducible: added timezones differing by 26 hours to builds
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 3848c3ed..c674829a 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -195,6 +195,7 @@ else
printf "BUILDUSERID=1111\nBUILDUSERNAME=pbuilder1\n" > $TMPCFG
( timeout 12h nice ionice -c 3 sudo \
DEB_BUILD_OPTIONS="parallel=$NUM_CPU" \
+ TZ="/usr/share/zoneinfo/Etc/GMT+12" \
pbuilder --build --configfile $TMPCFG --debbuildopts "-b" --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid ${SRCPACKAGE}_*.dsc
) 2>&1 | tee ${TMPLOG}
set +x
@@ -212,6 +213,7 @@ else
printf "BUILDUSERID=2222\nBUILDUSERNAME=pbuilder2\n" > $TMPCFG
( timeout 12h nice ionice -c 3 sudo \
DEB_BUILD_OPTIONS="parallel=$NUM_CPU" \
+ TZ="/usr/share/zoneinfo/Etc/GMT-14" \
LANG="fr_CH.UTF-8" \
LC_ALL="fr_CH.UTF-8" \
unshare --uts -- /usr/sbin/pbuilder --build --configfile $TMPCFG --hookdir /etc/pbuilder/rebuild-hooks \