Re: [OE-core] [PATCH 2/3] busybox: Add setsid and cttyhack for tiny DISTRO_FEATURE

2012-06-15 Thread Darren Hart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/15/2012 03:22 PM, Darren Hart wrote: > > > On 06/14/2012 12:05 AM, Khem Raj wrote: >> On 6/13/2012 10:19 PM, Darren Hart wrote: >>> When building very small systems, it can be useful to spawn a >>> shell from a simple init script, rather tha

Re: [OE-core] [PATCH 2/3] busybox: Add setsid and cttyhack for tiny DISTRO_FEATURE

2012-06-15 Thread Darren Hart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/14/2012 12:05 AM, Khem Raj wrote: > On 6/13/2012 10:19 PM, Darren Hart wrote: >> When building very small systems, it can be useful to spawn a >> shell from a simple init script, rather than a full System V Init >> process. This requires the s

Re: [OE-core] [PATCH 2/3] busybox: Add setsid and cttyhack for tiny DISTRO_FEATURE

2012-06-14 Thread Phil Blundell
On Thu, 2012-06-14 at 06:55 -0700, Darren Hart wrote: > Another approach would be to just consider these two features and decide > if they shouldn't just be part of the oe-core busybox defconfig anyway. > I don't see why setsid shouldn't be. I can see arguments against > cttyhack (as it is a hack),

Re: [OE-core] [PATCH 2/3] busybox: Add setsid and cttyhack for tiny DISTRO_FEATURE

2012-06-14 Thread Darren Hart
On 06/14/2012 02:41 AM, Phil Blundell wrote: > On Wed, 2012-06-13 at 22:19 -0700, Darren Hart wrote: >> diff --git a/meta/recipes-core/busybox/busybox.inc >> b/meta/recipes-core/busybox/busybox.inc >> index 5b83d32..d07ba7e 100644 >> --- a/meta/recipes-core/busybox/busybox.inc >> +++ b/meta/reci

Re: [OE-core] [PATCH 2/3] busybox: Add setsid and cttyhack for tiny DISTRO_FEATURE

2012-06-14 Thread Phil Blundell
On Wed, 2012-06-13 at 22:19 -0700, Darren Hart wrote: > diff --git a/meta/recipes-core/busybox/busybox.inc > b/meta/recipes-core/busybox/busybox.inc > index 5b83d32..d07ba7e 100644 > --- a/meta/recipes-core/busybox/busybox.inc > +++ b/meta/recipes-core/busybox/busybox.inc > @@ -57,6 +57,8 @@ def f

Re: [OE-core] [PATCH 2/3] busybox: Add setsid and cttyhack for tiny DISTRO_FEATURE

2012-06-14 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/13/2012 10:19 PM, Darren Hart wrote: > When building very small systems, it can be useful to spawn a shell > from a simple init script, rather than a full System V Init > process. This requires the shell be the session leader and be able > to ope

Re: [OE-core] [PATCH 2/3] busybox: Add setsid and cttyhack for tiny DISTRO_FEATURE

2012-06-13 Thread Darren Hart
Note that this is a part of a larger series. The other patches are against meta-yocto, but the busybox change seemed more appropriate here than in a bbappend in meta-yocto. At some point poky-tiny may need to come into oe-core, until then... On 06/13/2012 10:19 PM, Darren Hart wrote: > When build

[OE-core] [PATCH 2/3] busybox: Add setsid and cttyhack for tiny DISTRO_FEATURE

2012-06-13 Thread Darren Hart
When building very small systems, it can be useful to spawn a shell from a simple init script, rather than a full System V Init process. This requires the shell be the session leader and be able to open the controlling terminal if it is to have job control. Enable CONFIG_CTTYHACK and CONFIG_SETSID