[yocto] [PATCH 2/2] tiny-init: Basic init mechanism for poky-tiny

2012-06-18 Thread Darren Hart
Currently poky-tiny images will boot and run /bin/sh, which results in error messages to the console about being unable to open the tty and job control being disabled. The shell must be session leader to open the tty, and the tty must not be /dev/console (it should be a vt or a physical tty like

Re: [yocto] [PATCH 2/2] tiny-init: Basic init mechanism for poky-tiny

2012-06-18 Thread Khem Raj
diff --git a/meta-yocto/recipes-core/tiny-init/files/init b/meta-yocto/recipes-core/tiny-init/files/init new file mode 100644 index 000..bf2817d --- /dev/null +++ b/meta-yocto/recipes-core/tiny-init/files/init @@ -0,0 +1,21 @@ +#!/bin/sh + +# Mount the Linux kernel virtual

Re: [yocto] [PATCH 2/2] tiny-init: Basic init mechanism for poky-tiny

2012-06-18 Thread Darren Hart
On 06/18/2012 02:06 PM, Khem Raj wrote: diff --git a/meta-yocto/recipes-core/tiny-init/files/init b/meta-yocto/recipes-core/tiny-init/files/init new file mode 100644 index 000..bf2817d --- /dev/null +++ b/meta-yocto/recipes-core/tiny-init/files/init @@ -0,0 +1,21 @@ +#!/bin/sh +

Re: [yocto] [PATCH 2/2] tiny-init: Basic init mechanism for poky-tiny

2012-06-18 Thread Martin Jansa
On Mon, Jun 18, 2012 at 02:11:58PM -0700, Darren Hart wrote: On 06/18/2012 02:06 PM, Khem Raj wrote: diff --git a/meta-yocto/recipes-core/tiny-init/files/init b/meta-yocto/recipes-core/tiny-init/files/init new file mode 100644 index 000..bf2817d --- /dev/null +++

Re: [yocto] [PATCH 2/2] tiny-init: Basic init mechanism for poky-tiny

2012-06-18 Thread Darren Hart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/18/2012 02:18 PM, Martin Jansa wrote: On Mon, Jun 18, 2012 at 02:11:58PM -0700, Darren Hart wrote: On 06/18/2012 02:06 PM, Khem Raj wrote: diff --git a/meta-yocto/recipes-core/tiny-init/files/init

Re: [yocto] [PATCH 2/2] tiny-init: Basic init mechanism for poky-tiny

2012-06-18 Thread Khem Raj
On Mon, Jun 18, 2012 at 2:18 PM, Martin Jansa martin.ja...@gmail.com wrote: what if someone is using tiny-init in image with coreutils/util-linux/whatever is needed to execute /init without busybox? it wont work. Thats why I asked for rdepend ___