summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_netbsd.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-07-09 14:29:52 +0200
committerHolger Levsen <holger@layer-acht.org>2015-07-09 14:29:52 +0200
commit1469989157366024e03040bb0ca9a42e40346a06 (patch)
treec38acc066b815b3c6b0d9b34eea750029aa4f404 /bin/reproducible_netbsd.sh
parente372873be976fc45642b2de14676020daea93519 (diff)
downloadjenkins.debian.net-1469989157366024e03040bb0ca9a42e40346a06.tar.xz
reproducible netbsd: set MKREPRO to yes to get reproducible builds
Diffstat (limited to 'bin/reproducible_netbsd.sh')
-rwxr-xr-xbin/reproducible_netbsd.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/reproducible_netbsd.sh b/bin/reproducible_netbsd.sh
index 2d1dd361..bd6381f7 100755
--- a/bin/reproducible_netbsd.sh
+++ b/bin/reproducible_netbsd.sh
@@ -59,6 +59,12 @@ echo "This is netbsd $NETBSD_VERSION."
echo
git log -1
+# from $src/share/mk/bsd.README:
+# MKREPRO If "yes", create reproducable builds. This enables
+# different switches to make two builds from the same source tree
+# result in the same build results.
+export MKREPRO="yes"
+
echo "============================================================================="
echo "$(date -u) - Building netbsd ${NETBSD_VERSION} - first build run."
echo "============================================================================="