[pve-devel] [PATCH kernel 4/4] build: export SOURCE_DATE_EPOCH
Fabian Grünbichler
f.gruenbichler at proxmox.com
Thu May 4 15:46:41 CEST 2017
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.
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
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
--
2.1.4
More information about the pve-devel
mailing list