diff options
author | Roy Li <rongqing.li@windriver.com> | 2013-11-08 13:08:44 +0800 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2013-11-26 09:24:28 -0500 |
commit | ba4f5a82bbdb6c0e89e1749887d9c4168f90363e (patch) | |
tree | 7ee8bdeb2f1afce8eb234f5120203d7388cf08d7 /meta-networking/recipes-support/ntp | |
parent | 09b6cc46394392a385d68e2b1252ce545ec664b5 (diff) | |
download | meta-openembedded-ba4f5a82bbdb6c0e89e1749887d9c4168f90363e.tar.gz |
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 <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'meta-networking/recipes-support/ntp')
-rw-r--r-- | meta-networking/recipes-support/ntp/ntp.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta-networking/recipes-support/ntp/ntp.inc b/meta-networking/recipes-support/ntp/ntp.inc index 65d90decb..9ea24e923 100644 --- a/meta-networking/recipes-support/ntp/ntp.inc +++ b/meta-networking/recipes-support/ntp/ntp.inc | |||
@@ -67,9 +67,8 @@ do_install_append() { | |||
67 | install -m 0644 ${WORKDIR}/ntpd.service ${D}${systemd_unitdir}/system/ | 67 | install -m 0644 ${WORKDIR}/ntpd.service ${D}${systemd_unitdir}/system/ |
68 | install -m 0644 ${WORKDIR}/sntp.service ${D}${systemd_unitdir}/system/ | 68 | install -m 0644 ${WORKDIR}/sntp.service ${D}${systemd_unitdir}/system/ |
69 | 69 | ||
70 | # see http://www.freedesktop.org/wiki/Software/systemd/timedated/ | 70 | install -d ${D}${systemd_unitdir}/ntp-units.d |
71 | install -d ${D}${libdir}/systemd/ntp-units.d | 71 | install -m 0644 ${WORKDIR}/ntpd.list ${D}${systemd_unitdir}/ntp-units.d/60-ntpd.list |
72 | install -m 0644 ${WORKDIR}/ntpd.list ${D}${libdir}/systemd/ntp-units.d/60-ntpd.list | ||
73 | } | 72 | } |
74 | 73 | ||
75 | PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils" | 74 | PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils" |