Commit b2f13291 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible netbsd: use correct variable name, MKREPRO_TIMESTAMP

parent ab047f7a
...@@ -224,7 +224,7 @@ The plan is to run a jenkins.d.o host, which is maintained by DSA, but we are ma ...@@ -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 status in plain english
** explain MKREPRO is set to "yes" ** 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 * use disorderfs for 2nd build
==== reproducible FreeBSD ==== reproducible FreeBSD
......
...@@ -61,9 +61,10 @@ git log -1 ...@@ -61,9 +61,10 @@ git log -1
# result in the same build results. # result in the same build results.
# also see http://man.netbsd.org/HEAD/usr/share/man/html5/mk.conf.html # also see http://man.netbsd.org/HEAD/usr/share/man/html5/mk.conf.html
export MKREPRO="yes" 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) SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)
MK_TIMESTAMP=${SOURCE_DATE_EPOCH} MKREPRO_TIMESTAMP=${SOURCE_DATE_EPOCH}
echo "=============================================================================" echo "============================================================================="
echo "$(date -u) - Building NetBSD ${NETBSD_VERSION} - first build run." echo "$(date -u) - Building NetBSD ${NETBSD_VERSION} - first build run."
...@@ -72,7 +73,7 @@ export TZ="/usr/share/zoneinfo/Etc/GMT+12" ...@@ -72,7 +73,7 @@ export TZ="/usr/share/zoneinfo/Etc/GMT+12"
# actually build everything # actually build everything
for MACHINE in $MACHINES ; do for MACHINE in $MACHINES ; do
ionice -c 3 \ 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 results in b1
save_netbsd_results b1 ${MACHINE} save_netbsd_results b1 ${MACHINE}
# cleanup and explicitly delete old tooldir to force re-creation for the next $MACHINE type # 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) ...@@ -102,7 +103,7 @@ NEW_NUM_CPU=$(echo $NUM_CPU-1|bc)
for MACHINE in $MACHINES ; do for MACHINE in $MACHINES ; do
ionice -c 3 \ ionice -c 3 \
linux64 --uname-2.6 \ 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 results in b2
save_netbsd_results b2 ${MACHINE} save_netbsd_results b2 ${MACHINE}
# cleanup and explicitly delete old tooldir to force re-creation for the next $MACHINE type # 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 ...@@ -209,7 +210,7 @@ if [ "$GOOD_PERCENT" = "100.0" ] ; then
else else
write_page "." write_page "."
fi 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 write_explaination_table NetBSD
cat $BAD_SECTION_HTML >> $PAGE cat $BAD_SECTION_HTML >> $PAGE
cat $GOOD_SECTION_HTML >> $PAGE cat $GOOD_SECTION_HTML >> $PAGE
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment