2020-01-30 21:03:37 +00:00
|
|
|
LICENSE = "GPLv2"
|
2021-12-08 18:54:01 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
|
2020-01-30 21:03:37 +00:00
|
|
|
|
|
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
|
|
|
|
|
|
|
SRC_URI += " \
|
|
|
|
file://S20load_modules.sh \
|
2021-04-12 08:10:21 +00:00
|
|
|
file://S99firstboot.sh \
|
2020-01-30 21:03:37 +00:00
|
|
|
file://S49cgroups_mount.sh \
|
|
|
|
file://ntp.conf \
|
|
|
|
file://ntpd \
|
|
|
|
"
|
|
|
|
|
|
|
|
do_install_append () {
|
|
|
|
install -d ${D}${sysconfdir}/
|
|
|
|
install -d ${D}${sysconfdir}/rcS.d/
|
|
|
|
install -d ${D}${sysconfdir}/init.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/
|
2021-04-12 08:10:21 +00:00
|
|
|
install -m 0755 ${WORKDIR}/S99firstboot.sh ${D}${sysconfdir}/rcS.d/
|
2020-01-30 21:03:37 +00:00
|
|
|
install -m 0755 ${WORKDIR}/S49cgroups_mount.sh ${D}${sysconfdir}/rcS.d/
|
|
|
|
|
|
|
|
cd ${D}${sysconfdir}/rcS.d/
|
|
|
|
ln -s ../init.d/networking S40networking.sh
|
2021-02-23 20:54:29 +00:00
|
|
|
ln -s ../init.d/dropbear S47dropbear.sh
|
2020-01-30 21:03:37 +00:00
|
|
|
ln -s ../init.d/ntpd S48ntpd.sh
|
|
|
|
ln -s ../init.d/docker.init S50docker.sh
|
|
|
|
}
|