2020-01-23 17:58:15 +00:00
|
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
|
|
|
|
|
|
|
SRC_URI += " \
|
2020-01-26 11:42:49 +00:00
|
|
|
file://S20load_modules.sh \
|
|
|
|
file://fragments.cfg \
|
|
|
|
file://ntp.conf \
|
|
|
|
file://ntpd \
|
2020-01-23 17:58:15 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
do_install_append () {
|
|
|
|
install -d ${D}${sysconfdir}/rcS.d/
|
|
|
|
install -m 0644 ${WORKDIR}/ntp.conf ${D}${sysconfdir}
|
|
|
|
install -m 0755 ${WORKDIR}/ntpd ${D}${sysconfdir}/init.d/
|
|
|
|
install -m 0755 ${WORKDIR}/S20load_modules.sh ${D}${sysconfdir}/rcS.d/
|
|
|
|
|
|
|
|
cd ${D}${sysconfdir}/rcS.d/
|
|
|
|
ln -s ../init.d/ntpd S48ntpd.sh
|
|
|
|
}
|
|
|
|
|