summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2023-06-06 12:41:29 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2023-06-06 12:41:29 +0200
commit4cc324091da66f0c8dc426f5954c230e42554694 (patch)
tree3b65ad17c228892e36e2d526d230e4f0f6412e17
parentb3fedb54814bcef49c1de57360261bdf56f13472 (diff)
downloadptxdist-4cc324091da66f0c8dc426f5954c230e42554694.tar.gz
ptxdist-4cc324091da66f0c8dc426f5954c230e42554694.tar.xz
systemd: assume RTC dates up to 30 years past the build time are valid if Y2038 support is enabled
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/systemd.make1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/systemd.make b/rules/systemd.make
index 6b9d9784e..72a810b20 100644
--- a/rules/systemd.make
+++ b/rules/systemd.make
@@ -63,6 +63,7 @@ SYSTEMD_CONF_OPT := \
-Dbump-proc-sys-fs-nr-open=true \
-Dbzip2=false \
-Dcertificate-root=/etc/ssl \
+ -Dclock-valid-range-usec-max=$(call ptx/ifdef, PTXDIST_Y2038,946728000000000,473364000000000) \
-Dcompat-mutable-uid-boundaries=false \
-Dcoredump=$(call ptx/truefalse,PTXCONF_SYSTEMD_COREDUMP) \
-Dcreate-log-dirs=false \