diff options
author | Gabe Evans <gabe@hashrabbit.co> | 2016-07-01 23:51:11 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-02 12:40:58 +0200 |
commit | f52f685d4358760df73d77a6a07a6b7b5d28068f (patch) | |
tree | d7e7c023aff688ee2bea6f6d3755b29c411c51bd /package/systemd | |
parent | 13baa1c7008f72ed94d20a7db8426250e7ca5d96 (diff) | |
download | buildroot-f52f685d4358760df73d77a6a07a6b7b5d28068f.tar.gz buildroot-f52f685d4358760df73d77a6a07a6b7b5d28068f.zip |
package/systemd: add optional support for timedated
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
[Maxime: Add default y]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/systemd')
-rw-r--r-- | package/systemd/Config.in | 10 | ||||
-rw-r--r-- | package/systemd/systemd.mk | 6 |
2 files changed, 16 insertions, 0 deletions
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 |