[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible netbsd: use correct variable name, MKREPRO_TIMESTAMP
Holger Levsen
holger at moszumanska.debian.org
Wed Mar 9 12:02:32 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 b2f13291017098b6a77738240fe6a8151a141d98
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Mar 9 13:01:58 2016 +0100
reproducible netbsd: use correct variable name, MKREPRO_TIMESTAMP
---
TODO | 2 +-
bin/reproducible_netbsd.sh | 11 ++++++-----
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/TODO b/TODO
index 95c4287..a40e045 100644
--- a/TODO
+++ b/TODO
@@ -224,7 +224,7 @@ The plan is to run a jenkins.d.o host, which is maintained by DSA, but we are ma
* explain status in plain english
** explain MKREPRO is set to "yes"
-** explain MK_TIMESTAMP set to $SOURCE_DATE_EPOCH
+** explain MKREPRO_TIMESTAMP set to $SOURCE_DATE_EPOCH
* use disorderfs for 2nd build
==== reproducible FreeBSD
diff --git a/bin/reproducible_netbsd.sh b/bin/reproducible_netbsd.sh
index 5bc5d31..fa3c14f 100755
--- a/bin/reproducible_netbsd.sh
+++ b/bin/reproducible_netbsd.sh
@@ -61,9 +61,10 @@ git log -1
# result in the same build results.
# also see http://man.netbsd.org/HEAD/usr/share/man/html5/mk.conf.html
export MKREPRO="yes"
-# MK_TIMESTAMP is set to SOURCE_DATE_EPOCH of netbsd.git
+# MKREPRO_TIMESTAMP is set to SOURCE_DATE_EPOCH of netbsd.git
+# see http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/BUILDING
SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)
-MK_TIMESTAMP=${SOURCE_DATE_EPOCH}
+MKREPRO_TIMESTAMP=${SOURCE_DATE_EPOCH}
echo "============================================================================="
echo "$(date -u) - Building NetBSD ${NETBSD_VERSION} - first build run."
@@ -72,7 +73,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 -V MKREPRO_TIMESTAMP=$MK_TIMESTAMP -U -u -m ${MACHINE} release
+ ./build.sh -j $NUM_CPU -V MKREPRO_TIMESTAMP=$MKREPRO_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
@@ -102,7 +103,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 -V MKREPRO_TIMESTAMP=$MK_TIMESTAMP -U -u -m ${MACHINE} release
+ ./build.sh -j $NEW_NUM_CPU -V MKREPRO_TIMESTAMP=$MKREPRO_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
@@ -209,7 +210,7 @@ if [ "$GOOD_PERCENT" = "100.0" ] ; then
else
write_page "."
fi
-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_page " These tests were last run on $DATE for version ${NETBSD_VERSION} with MKREPRO=yes and MKREPRO_TIMESTAMP=$MKREPRO_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