From f52f685d4358760df73d77a6a07a6b7b5d28068f Mon Sep 17 00:00:00 2001 From: Gabe Evans Date: Fri, 1 Jul 2016 23:51:11 +0200 Subject: [PATCH] package/systemd: add optional support for timedated Signed-off-by: Gabe Evans [Maxime: Add default y] Signed-off-by: Maxime Hadjinlian Signed-off-by: Thomas Petazzoni --- package/systemd/Config.in | 10 ++++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/package/systemd/Config.in b/package/systemd/Config.in index 1be0a96772..e84a7170c8 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -225,6 +225,16 @@ config BR2_PACKAGE_SYSTEMD_HOSTNAMED http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html +config BR2_PACKAGE_SYSTEMD_TIMEDATED + bool "enable timedate daemon" + default y + help + systemd-timedated is a system service that may be used as a + mechanism to change the system clock and timezone, as well + as to enable/disable NTP time synchronization. + + http://www.freedesktop.org/software/systemd/man/systemd-timedated.service.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 5e58017962..ad75315238 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -219,6 +219,12 @@ else SYSTEMD_CONF_OPTS += --disable-hostnamed endif +ifeq ($(BR2_PACKAGE_SYSTEMD_TIMEDATED),y) +SYSTEMD_CONF_OPTS += --enable-timedated +else +SYSTEMD_CONF_OPTS += --disable-timedated +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK -- 2.30.2