[Reproducible-commits] [misc] 03/07: prebuilder: Add timezone variation

Jérémy Bobbio lunar at moszumanska.debian.org
Thu Mar 19 16:30:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch master
in repository misc.

commit ec1cfe9253caf728b3c1ff719352051afdee576d
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Thu Mar 19 16:24:20 2015 +0100

    prebuilder: Add timezone variation
---
 prebuilder/rebuild.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/prebuilder/rebuild.sh b/prebuilder/rebuild.sh
index 9db414d..eecf313 100755
--- a/prebuilder/rebuild.sh
+++ b/prebuilder/rebuild.sh
@@ -29,7 +29,7 @@ PACKAGE="$1"
 rm -r b1 b2
 mkdir -p b1 b2 logs
 
-SUDO_ENV="DEB_BUILD_OPTIONS=nocheck" sudo_pbuilder --build --debbuildopts '-b' --buildresult b1 --logfile logs/${PACKAGE}.build1 ${PACKAGE}_*.dsc
+SUDO_ENV="DEB_BUILD_OPTIONS=nocheck TZ=/usr/share/zoneinfo/Etc/GMT+12" sudo_pbuilder --build --debbuildopts '-b' --buildresult b1 --logfile logs/${PACKAGE}.build1 ${PACKAGE}_*.dsc
 xz < logs/${PACKAGE}.build1 > logs/${PACKAGE}.build1.xz
 
 # Let's make a tarball of the build result. This allows us
@@ -43,7 +43,7 @@ TMPTAR="$TMPDIR/initial_build.tar"
 
 (cd b1 && tar -cf "$TMPTAR" $(dcmd ${PACKAGE}_*.changes))
 
-SUDO_ENV="DEB_BUILD_OPTIONS=nocheck" sudo_pbuilder --build --debbuildopts '-b' --buildresult b2 --logfile logs/${PACKAGE}.build2 --hookdir "$SCRIPT_DIR/pbuilderhooks" --inputfile "$TMPTAR" ${PACKAGE}_*.dsc
+SUDO_ENV="DEB_BUILD_OPTIONS=nocheck TZ=/usr/share/zoneinfo/Etc/GMT-14" sudo_pbuilder --build --configfile "$SCRIPT_DIR/pbuilderrc.rebuild" --debbuildopts '-b' --buildresult b2 --logfile logs/${PACKAGE}.build2 --hookdir "$SCRIPT_DIR/pbuilderhooks" --inputfile "$TMPTAR" ${PACKAGE}_*.dsc
 xz < logs/${PACKAGE}.build2 > logs/${PACKAGE}.build2.xz
 
 if [ -f /var/cache/pbuilder/result/debbindiff.html ]; then

-- 
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