[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible netbsd: set MKREPRO_TIMESTAMP to date of last git commit of netbsd source
Holger Levsen
holger at moszumanska.debian.org
Thu Jan 21 12:26:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit e3bfe0578abfcd5e73e4b2ad2655acb71e6c12c4
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Jan 21 13:26:36 2016 +0100
reproducible netbsd: set MKREPRO_TIMESTAMP to date of last git commit of netbsd source
---
bin/reproducible_netbsd.sh | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/bin/reproducible_netbsd.sh b/bin/reproducible_netbsd.sh
index 939fea3..91712eb 100755
--- a/bin/reproducible_netbsd.sh
+++ b/bin/reproducible_netbsd.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2014-2015 Holger Levsen <holger at layer-acht.org>
+# Copyright 2014-2016 Holger Levsen <holger at layer-acht.org>
# released under the GPLv=2
DEBUG=false
@@ -60,6 +60,7 @@ git log -1
# different switches to make two builds from the same source tree
# result in the same build results.
export MKREPRO="yes"
+MK_TIMESTAMP=$(git show --pretty=format:%ai|head -1|date -u "+%s")
echo "============================================================================="
echo "$(date -u) - Building NetBSD ${NETBSD_VERSION} - first build run."
@@ -68,7 +69,7 @@ export TZ="/usr/share/zoneinfo/Etc/GMT+12"
# actually build everything
for MACHINE in $MACHINES ; do
ionice -c 3 \
- ./build.sh -j $NUM_CPU -U -u -m ${MACHINE} release
+ ./build.sh -j $NUM_CPU -V MKREPRO_TIMESTAMP=$MK_TIMESTAMP -U -u -m ${MACHINE} release
# save results in b1
save_netbsd_results b1 ${MACHINE}
# cleanup and explicitly delete old tooldir to force re-creation for the next $MACHINE type
@@ -98,7 +99,7 @@ NEW_NUM_CPU=$(echo $NUM_CPU-1|bc)
for MACHINE in $MACHINES ; do
ionice -c 3 \
linux64 --uname-2.6 \
- ./build.sh -j $NEW_NUM_CPU -U -u -m ${MACHINE} release
+ ./build.sh -j $NEW_NUM_CPU -V MKREPRO_TIMESTAMP=$MK_TIMESTAMP -U -u -m ${MACHINE} release
# save results in b2
save_netbsd_results b2 ${MACHINE}
# cleanup and explicitly delete old tooldir to force re-creation for the next $MACHINE type
@@ -202,7 +203,7 @@ if [ "$GOOD_PERCENT" = "100.0" ] ; then
else
write_page "."
fi
-write_page " These tests were last run on $DATE for version ${NETBSD_VERSION} using ${DIFFOSCOPE}.</p>"
+write_page " These tests were last run on $DATE for version ${NETBSD_VERSION} with MKREPRO=yes and MKREPRO_TIMESTAMP=$MK_TIMESTAMP and were compared using ${DIFFOSCOPE}.</p>"
write_explaination_table NetBSD
cat $BAD_SECTION_HTML >> $PAGE
cat $GOOD_SECTION_HTML >> $PAGE
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list