mirror of
https://git.yoctoproject.org/poky
synced 2026-06-09 03:52:42 +02:00
When using an initramfs, the default for poky-tiny, the kernel can't automatically mount devtmpfs. Ensure it is mounted. This eliminates the need to create the ptmx device. (From meta-yocto rev: b0ae9ca7078ec57fe21ccd8a14302a075ca07aa3) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
29 lines
529 B
BlitzBasic
29 lines
529 B
BlitzBasic
SUMMARY = "Poky-tiny init"
|
|
DESCRIPTION = "Basic init system for poky-tiny"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
|
|
PR = "r2"
|
|
|
|
RDEPENDS_${PN} = "busybox"
|
|
|
|
SRC_URI = "file://init \
|
|
file://rc.local.sample \
|
|
"
|
|
|
|
do_configure() {
|
|
:
|
|
}
|
|
|
|
do_compile() {
|
|
:
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${sysconfdir}
|
|
install -m 0755 ${WORKDIR}/init ${D}
|
|
install -m 0755 ${WORKDIR}/rc.local.sample ${D}${sysconfdir}
|
|
}
|
|
|
|
FILES_${PN} = "/init ${sysconfdir}/rc.local.sample"
|