mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
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>
This commit is contained in:
@@ -67,9 +67,8 @@ do_install_append() {
|
|||||||
install -m 0644 ${WORKDIR}/ntpd.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/
|
install -m 0644 ${WORKDIR}/sntp.service ${D}${systemd_unitdir}/system/
|
||||||
|
|
||||||
# see http://www.freedesktop.org/wiki/Software/systemd/timedated/
|
install -d ${D}${systemd_unitdir}/ntp-units.d
|
||||||
install -d ${D}${libdir}/systemd/ntp-units.d
|
install -m 0644 ${WORKDIR}/ntpd.list ${D}${systemd_unitdir}/ntp-units.d/60-ntpd.list
|
||||||
install -m 0644 ${WORKDIR}/ntpd.list ${D}${libdir}/systemd/ntp-units.d/60-ntpd.list
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils"
|
PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils"
|
||||||
|
|||||||
Reference in New Issue
Block a user