* [PATCH 0/1] tiny-init: Setup /dev/ptmx in init
@ 2012-08-01 19:01 Darren Hart
2012-08-01 19:01 ` [PATCH 1/1] " Darren Hart
0 siblings, 1 reply; 3+ messages in thread
From: Darren Hart @ 2012-08-01 19:01 UTC (permalink / raw)
To: Poky; +Cc: Darren Hart
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(-)
--
1.7.5.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] tiny-init: Setup /dev/ptmx in init
2012-08-01 19:01 [PATCH 0/1] tiny-init: Setup /dev/ptmx in init Darren Hart
@ 2012-08-01 19:01 ` Darren Hart
2012-08-01 21:55 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Darren Hart @ 2012-08-01 19:01 UTC (permalink / raw)
To: Poky
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.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Reinette Chatre <reinette.chatre@intel.com>
---
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(-)
diff --git a/meta-yocto/recipes-core/tiny-init/files/init b/meta-yocto/recipes-core/tiny-init/files/init
index bf2817d..89fe39e 100644
--- a/meta-yocto/recipes-core/tiny-init/files/init
+++ b/meta-yocto/recipes-core/tiny-init/files/init
@@ -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
diff --git a/meta-yocto/recipes-core/tiny-init/tiny-init.bb b/meta-yocto/recipes-core/tiny-init/tiny-init.bb
index f5892ed..394d70f 100644
--- a/meta-yocto/recipes-core/tiny-init/tiny-init.bb
+++ b/meta-yocto/recipes-core/tiny-init/tiny-init.bb
@@ -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"
--
1.7.5.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH 1/1] tiny-init: Setup /dev/ptmx in init
2012-08-01 19:01 ` [PATCH 1/1] " Darren Hart
@ 2012-08-01 21:55 ` Richard Purdie
0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2012-08-01 21:55 UTC (permalink / raw)
To: Darren Hart; +Cc: Poky
On Wed, 2012-08-01 at 12:01 -0700, Darren Hart wrote:
> 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.
>
> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
> CC: Reinette Chatre <reinette.chatre@intel.com>
> ---
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-01 21:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-01 19:01 [PATCH 0/1] tiny-init: Setup /dev/ptmx in init Darren Hart
2012-08-01 19:01 ` [PATCH 1/1] " Darren Hart
2012-08-01 21:55 ` Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.