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.
This commit is contained in:
parent
a6c22e7b57
commit
95cebd4144
1
Makefile
1
Makefile
@ -18,6 +18,7 @@ HDRPACKAGE=pve-headers-${KVNAME}
|
|||||||
ARCH=amd64
|
ARCH=amd64
|
||||||
GITVERSION:=$(shell cat .git/refs/heads/master)
|
GITVERSION:=$(shell cat .git/refs/heads/master)
|
||||||
CHANGELOG_DATE:=$(shell dpkg-parsechangelog -SDate -lchangelog.Debian)
|
CHANGELOG_DATE:=$(shell dpkg-parsechangelog -SDate -lchangelog.Debian)
|
||||||
|
export SOURCE_DATE_EPOCH ?= $(shell dpkg-parsechangelog -STimestamp -lchangelog.Debian)
|
||||||
|
|
||||||
SKIPABI=0
|
SKIPABI=0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user