From d25f16af18c27ff1c1838ea2ebe700339a07a1b5 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 27 Jan 2016 02:06:45 +0100 Subject: 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 2b07c88e..db1ffa21 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." -- cgit v1.2.3-70-g09d2