From c98e6d3ffd5c433088566a907c6f56daa30029fe Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Tue, 3 Sep 2013 08:58:30 +0200 Subject: ntp: enable systemd-timedated control for ntp.service MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller Signed-off-by: Joe MacDonald --- meta-networking/recipes-support/ntp/ntp.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta-networking/recipes-support/ntp/ntp.inc') diff --git a/meta-networking/recipes-support/ntp/ntp.inc b/meta-networking/recipes-support/ntp/ntp.inc index 6e8b452cc9..65d90decbb 100644 --- a/meta-networking/recipes-support/ntp/ntp.inc +++ b/meta-networking/recipes-support/ntp/ntp.inc @@ -22,6 +22,7 @@ SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.g file://ntpd.service \ file://sntp.service \ file://sntp \ + file://ntpd.list \ " inherit autotools update-rc.d systemd @@ -65,6 +66,10 @@ do_install_append() { install -m 0644 ${WORKDIR}/ntpdate.service ${D}${systemd_unitdir}/system/ install -m 0644 ${WORKDIR}/ntpd.service ${D}${systemd_unitdir}/system/ install -m 0644 ${WORKDIR}/sntp.service ${D}${systemd_unitdir}/system/ + + # see http://www.freedesktop.org/wiki/Software/systemd/timedated/ + install -d ${D}${libdir}/systemd/ntp-units.d + install -m 0644 ${WORKDIR}/ntpd.list ${D}${libdir}/systemd/ntp-units.d/60-ntpd.list } PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils" -- cgit 1.2.3-korg