tiny-init: Setup /dev/ptmx in init
cover tiny-init: Setup /dev/ptmx in init
The following changes since commit fd6251ef548da7dbca354754cc0b666b2ccd0c45:
imagetest-qemu.bbclass: Fix whitespace issues (2012-08-01 09:10:41 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib dvhart/bug2382-ssh-tiny
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=dvhart/bug2382-ssh-tiny
Darren Hart (1):
tiny-init: Setup /dev/ptmx in init
meta-yocto/recipes-core/tiny-init/files/init | 3 +++ meta-yocto/recipes-core/tiny-init/tiny-init.bb | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.5.4
PATCH 1/1 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.
--- meta-yocto/recipes-core/tiny-init/files/init | 3 +++ meta-yocto/recipes-core/tiny-init/tiny-init.bb | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-)
meta-yocto/recipes-core/tiny-init/files/init +3 -0
@@ -3,6 +3,9 @@ # Mount the Linux kernel virtual filesystems mount none -t proc /proc mount none -t sysfs /sys + +# Setup PTY infrastructure +mknod /dev/ptmx c 5 2 mkdir /dev/pts mount none -t devpts /dev/pts
meta-yocto/recipes-core/tiny-init/tiny-init.bb +1 -1
@@ -3,7 +3,7 @@ DESCRIPTION = "Basic init system for poky-tiny" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" -PR = "r0" +PR = "r1" RDEPENDS_${PN} = "busybox"
Signature · 1 line
1.7.5.4
Richard Purdie
AppliedQuoted 8 lines · Darren Hart
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/ptmxdevice in tiny-init so it works as intended.
Quoted 6 lines
Signed-off-by Darren Hart <[email protected]>CC Reinette Chatre <[email protected]>--- meta-yocto/recipes-core/tiny-init/files/init | 3 +++ meta-yocto/recipes-core/tiny-init/tiny-init.bb | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-)
Merged to master, thanks.
Richard