mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

Fixes [YOCTO #2382] Without /dev/ptmx, ssh logins fail with: "PTY allocation request failed on channel 0" As the kernel support already exists in the linux-yocto-tiny kernel, create the /dev/ptmx device in tiny-init so it works as intended. (From meta-yocto rev: 1b71b9363aa49521896694e43a63cb6fca487da4) Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Reinette Chatre <reinette.chatre@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 = "r1"
|
|
|
|
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"
|