From: Gabe Evans Date: Fri, 1 Jul 2016 21:51:11 +0000 (+0200) Subject: package/systemd: add optional support for timedated X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f52f685d4358760df73d77a6a07a6b7b5d28068f;p=buildroot.git 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 --- 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