diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-01-27 02:06:45 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-01-27 02:06:45 +0100 |
commit | d25f16af18c27ff1c1838ea2ebe700339a07a1b5 (patch) | |
tree | 7f9a3d2318cd73789eabf67822ae4fef059e558d | |
parent | 3cd3b19b37ead8f64473b4b3e57086e4b0d4ee80 (diff) | |
download | jenkins.debian.net-d25f16af18c27ff1c1838ea2ebe700339a07a1b5.tar.xz |
reproducible netbsd: explain MK_TIMESTAMP is set to SOURCE_DATE_EPOCH
-rwxr-xr-x | bin/reproducible_netbsd.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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." |