From 95cebd4144dbec069e39e04a95523b06eac82b0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Thu, 4 May 2017 15:40:18 +0200 Subject: [PATCH] build: export SOURCE_DATE_EPOCH SOURCE_DATE_EPOCH is used to set various timestamps in build products, and was introduced as part of the reproducible builds efforts. this is a great help for future build system restructuring, as the "diffoscope"-diff of the produced .debs is now small enough to catch unintended changes. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index a2ca354..2deadfa 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ HDRPACKAGE=pve-headers-${KVNAME} ARCH=amd64 GITVERSION:=$(shell cat .git/refs/heads/master) CHANGELOG_DATE:=$(shell dpkg-parsechangelog -SDate -lchangelog.Debian) +export SOURCE_DATE_EPOCH ?= $(shell dpkg-parsechangelog -STimestamp -lchangelog.Debian) SKIPABI=0