ntp: enable systemd-timedated control for ntp.service
Signed-off-by Andreas Müller <[email protected]>
--- meta-networking/recipes-support/ntp/ntp.inc | 5 +++++ meta-networking/recipes-support/ntp/ntp/ntpd.list | 1 + 2 files changed, 6 insertions(+), 0 deletions(-) create mode 100644 meta-networking/recipes-support/ntp/ntp/ntpd.list
meta-networking/recipes-support/ntp/ntp.inc +5 -0
@@ -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
@@ -63,6 +64,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"
meta-networking/recipes-support/ntp/ntp/ntpd.list new file +1 -0
@@ -0,0 +1 @@ +ntpd.service
Signature · 1 line
1.7.6.5
Joe MacDonald
AppliedMerged, thanks.
-J.
Quoted 37 lines · [[oe] [meta-networking] ntp: enable systemd-timedated control for ntp.service]…
Signed-off-by Andreas Müller <[email protected]>--- meta-networking/recipes-support/ntp/ntp.inc | 5 +++++ meta-networking/recipes-support/ntp/ntp/ntpd.list | 1 + 2 files changed, 6 insertions(+), 0 deletions(-) create mode 100644 meta-networking/recipes-support/ntp/ntp/ntpd.listmeta-networking/recipes-support/ntp/ntp.inc +5
-0@@ -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@@ -63,6 +64,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"meta-networking/recipes-support/ntp/ntp/ntpd.list new file +1
-0@@ -0,0 +1 @@ +ntpd.service
Signature · 2 lines
-Joe MacDonald. :wq