From ba4f5a82bbdb6c0e89e1749887d9c4168f90363e Mon Sep 17 00:00:00 2001 From: Roy Li Date: Fri, 8 Nov 2013 13:08:44 +0800 Subject: ntp: fix 60-ntpd.list path 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 Signed-off-by: Joe MacDonald --- meta-networking/recipes-support/ntp/ntp.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'meta-networking') diff --git a/meta-networking/recipes-support/ntp/ntp.inc b/meta-networking/recipes-support/ntp/ntp.inc index 65d90decbb..9ea24e9237 100644 --- a/meta-networking/recipes-support/ntp/ntp.inc +++ b/meta-networking/recipes-support/ntp/ntp.inc @@ -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" -- cgit v1.2.3-54-g00ecf