docker image for rpi3_64
This commit is contained in:
19
recipes-core/busybox/busybox_%.bbappend
Normal file
19
recipes-core/busybox/busybox_%.bbappend
Normal file
@@ -0,0 +1,19 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
SRC_URI += " \
|
||||
file://S20load_modules.sh \
|
||||
file://fragments.cfg \
|
||||
file://ntp.conf \
|
||||
file://ntpd \
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
|
Reference in New Issue
Block a user