summaryrefslogtreecommitdiffstats
path: root/rules/host-systemd.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-09-27 22:06:02 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-10-03 07:55:42 +0200
commit88993256222bab1866247721d9846253e9ef12f5 (patch)
treed6b6a425cc8ced79db24d905e0f8102a7afb2503 /rules/host-systemd.make
parent41a6284570fc1a014cb6b2b7ebd7470e2d3e1770 (diff)
downloadptxdist-88993256222bab1866247721d9846253e9ef12f5.tar.gz
ptxdist-88993256222bab1866247721d9846253e9ef12f5.tar.xz
define and use SOURCE_DATE_EPOCH
This is useful for more reproducible builds. See also: https://reproducible-builds.org/specs/source-date-epoch/ It is used by the opkg-utils 0.3.6, so define this before updating that package. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-systemd.make')
-rw-r--r--rules/host-systemd.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/host-systemd.make b/rules/host-systemd.make
index 7f97a75bc..ace824a58 100644
--- a/rules/host-systemd.make
+++ b/rules/host-systemd.make
@@ -107,7 +107,7 @@ HOST_SYSTEMD_CONF_OPT := \
-Dsystem-uid-max=999 \
-Dsysusers=false \
-Dtests=false \
- -Dtime-epoch=`date --date "$(PTXDIST_VERSION_YEAR)-$(PTXDIST_VERSION_MONTH)-01 UTC" +%s` \
+ -Dtime-epoch=$(SOURCE_DATE_EPOCH) \
-Dtimedated=false \
-Dtimesyncd=false \
-Dtmpfiles=false \