From ac7019f33f1618f5b69ed44a8623e2596f1e3856 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 1 Jul 2012 17:37:21 +0200 Subject: timedated: replace systemd-timedated-ntp.target logic with simpler scheme The previous systemd-timedated-ntp.target was suffering by the problem that NTP implementations enabled via the machanism could not be disabled the obvious way on the "systemctl disable" command line. Replace systemd-timedated-ntp.target by a list of implementations we try in turn. The list is encoded in $pkgdatadir/ntp-units. --- Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 5789a139a9..616f99853e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -96,6 +96,7 @@ dist_udevrules_DATA = nodist_udevrules_DATA = dist_man_MANS = dist_pkgsysconf_DATA = +dist_pkgdata_DATA = dist_dbuspolicy_DATA = dbusinterface_DATA = dist_dbussystemservice_DATA = @@ -132,6 +133,7 @@ AM_CPPFLAGS = \ -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \ -DSYSTEM_SLEEP_PATH=\"$(systemsleepdir)\" \ -DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \ + -DSYSTEMD_NTP_UNITS=\"$(pkgdatadir)/ntp-units\" \ -DX_SERVER=\"$(bindir)/X\" \ -DUDEVLIBEXECDIR=\"$(udevlibexecdir)\" \ -DPOLKIT_AGENT_BINARY_PATH=\"$(bindir)/pkttyagent\" \ @@ -309,7 +311,6 @@ dist_systemunit_DATA = \ units/syslog.target \ units/systemd-udev-control.socket \ units/systemd-udev-kernel.socket \ - units/systemd-timedated-ntp.target \ units/system-update.target nodist_systemunit_DATA = \ @@ -2745,7 +2746,7 @@ man/systemd-localed.8: man/systemd-localed.service.8 EXTRA_DIST += \ units/systemd-localed.service.in -dist_pkgdata_DATA = \ +dist_pkgdata_DATA += \ src/locale/kbd-model-map dist_noinst_SCRIPT = \ @@ -2801,6 +2802,9 @@ timedated-install-data-hook: INSTALL_DATA_HOOKS += \ timedated-install-data-hook +dist_pkgdata_DATA += \ + src/timedate/ntp-units + MANPAGES += \ man/systemd-timedated.service.8 -- cgit v1.2.3-54-g00ecf