ntp: fix 60-ntpd.list path
PATCH 1/1 ntp: fix 60-ntpd.list path
From: Roy Li <[email protected]>
60-ntpd.list should be installed into the same path as ntp systemd service file, like Fedora core; Orignal path refers
http://www.freedesktop.org/wiki/Software/systemd/timedated/, but where systemd_unitdir is assumed as /usr/lib/systemd, not /lib/systemd
Signed-off-by Roy Li <[email protected]>
--- meta-networking/recipes-support/ntp/ntp.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
meta-networking/recipes-support/ntp/ntp.inc +2 -3
@@ -67,9 +67,8 @@ do_install_append() { 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 + install -d ${D}${systemd_unitdir}/ntp-units.d + install -m 0644 ${WORKDIR}/ntpd.list ${D}${systemd_unitdir}/ntp-units.d/60-ntpd.list } PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils"
Signature · 1 line
1.7.10.4
Almost forgot about this one. Also merged earlier today. Thanks.
-J.
Quoted 28 lines · [[oe] [PATCH meta-networking] ntp: fix 60-ntpd.list path] On 13.11.08 (Fri…
From: Roy Li <[email protected]>
60-ntpd.list should be installed into the same path as ntp systemd service file, like Fedora core; Orignal path refers
http://www.freedesktop.org/wiki/Software/systemd/timedated/, but wheresystemd_unitdiris assumed as/usr/lib/systemd, not/lib/systemdSigned-off-by Roy Li <[email protected]>--- meta-networking/recipes-support/ntp/ntp.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)meta-networking/recipes-support/ntp/ntp.inc +2
-3@@ -67,9 +67,8 @@ do_install_append() { 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 + install -d ${D}${systemd_unitdir}/ntp-units.d + install -m 0644 ${WORKDIR}/ntpd.list ${D}${systemd_unitdir}/ntp-units.d/60-ntpd.list } PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils"
Signature · 2 lines
-Joe MacDonald. :wq