|
|
|
@ -94,10 +94,10 @@ do_install_append() {
|
|
|
|
|
install -d ${D}/${sysconfdir}/network/if-up.d
|
|
|
|
|
ln -s ${bindir}/ntpdate-sync ${D}/${sysconfdir}/network/if-up.d
|
|
|
|
|
|
|
|
|
|
install -d ${D}${systemd_unitdir}/system
|
|
|
|
|
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/
|
|
|
|
|
install -d ${D}${systemd_system_unitdir}
|
|
|
|
|
install -m 0644 ${WORKDIR}/ntpdate.service ${D}${systemd_system_unitdir}/
|
|
|
|
|
install -m 0644 ${WORKDIR}/ntpd.service ${D}${systemd_system_unitdir}/
|
|
|
|
|
install -m 0644 ${WORKDIR}/sntp.service ${D}${systemd_system_unitdir}/
|
|
|
|
|
|
|
|
|
|
install -d ${D}${systemd_unitdir}/ntp-units.d
|
|
|
|
|
install -m 0644 ${WORKDIR}/ntpd.list ${D}${systemd_unitdir}/ntp-units.d/60-ntpd.list
|
|
|
|
@ -145,13 +145,13 @@ FILES_ntpdate = "${sbindir}/ntpdate \
|
|
|
|
|
${sysconfdir}/network/if-up.d/ntpdate-sync \
|
|
|
|
|
${bindir}/ntpdate-sync \
|
|
|
|
|
${sysconfdir}/default/ntpdate \
|
|
|
|
|
${systemd_unitdir}/system/ntpdate.service \
|
|
|
|
|
${systemd_system_unitdir}/ntpdate.service \
|
|
|
|
|
${bindir}/ntpdate-cron \
|
|
|
|
|
${sysconfdir}/cron.d/ntpdate \
|
|
|
|
|
"
|
|
|
|
|
FILES_sntp = "${sbindir}/sntp \
|
|
|
|
|
${sysconfdir}/default/sntp \
|
|
|
|
|
${systemd_unitdir}/system/sntp.service \
|
|
|
|
|
${systemd_system_unitdir}/sntp.service \
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
CONFFILES_${PN} = "${sysconfdir}/ntp.conf"
|
|
|
|
|