tiny-init: Setup /dev/ptmx in init
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>
This commit is contained in:
parent
acde166f5b
commit
62d42fe3cf
|
@ -3,6 +3,9 @@
|
||||||
# Mount the Linux kernel virtual filesystems
|
# Mount the Linux kernel virtual filesystems
|
||||||
mount none -t proc /proc
|
mount none -t proc /proc
|
||||||
mount none -t sysfs /sys
|
mount none -t sysfs /sys
|
||||||
|
|
||||||
|
# Setup PTY infrastructure
|
||||||
|
mknod /dev/ptmx c 5 2
|
||||||
mkdir /dev/pts
|
mkdir /dev/pts
|
||||||
mount none -t devpts /dev/pts
|
mount none -t devpts /dev/pts
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ DESCRIPTION = "Basic init system for poky-tiny"
|
||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||||
|
|
||||||
PR = "r0"
|
PR = "r1"
|
||||||
|
|
||||||
RDEPENDS_${PN} = "busybox"
|
RDEPENDS_${PN} = "busybox"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue