[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible netbsd: explain MK_TIMESTAMP is set to SOURCE_DATE_EPOCH
Holger Levsen
holger at moszumanska.debian.org
Wed Jan 27 01:06:52 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 d25f16af18c27ff1c1838ea2ebe700339a07a1b5
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Jan 27 02:06:45 2016 +0100
reproducible netbsd: explain MK_TIMESTAMP is set to SOURCE_DATE_EPOCH
---
bin/reproducible_netbsd.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/reproducible_netbsd.sh b/bin/reproducible_netbsd.sh
index 2b07c88..db1ffa2 100755
--- a/bin/reproducible_netbsd.sh
+++ b/bin/reproducible_netbsd.sh
@@ -60,7 +60,9 @@ 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 log -1 --pretty=%ct)
+# MK_TIMESTAMP is set to SOURCE_DATE_EPOCH of netbsd.git
+SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)
+MK_TIMESTAMP=${SOURCE_DATE_EPOCH}
echo "============================================================================="
echo "$(date -u) - Building NetBSD ${NETBSD_VERSION} - first build run."
--
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