From: Darren Hart <dvhart@linux.intel.com>
To: Phil Blundell <philb@gnu.org>
Cc: Yocto Project <yocto@yoctoproject.org>,
Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/3] busybox: Add setsid and cttyhack for tiny DISTRO_FEATURE
Date: Thu, 14 Jun 2012 06:55:53 -0700 [thread overview]
Message-ID: <4FD9ED69.50800@linux.intel.com> (raw)
In-Reply-To: <1339666865.14857.39.camel@phil-desktop>
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/recipes-core/busybox/busybox.inc
>> @@ -57,6 +57,8 @@ def features_to_busybox_settings(d):
>> busybox_cfg('nls', distro_features, 'CONFIG_LOCALE_SUPPORT', cnf, rem)
>> busybox_cfg('ipv4', distro_features, 'CONFIG_FEATURE_IFUPDOWN_IPV4', cnf, rem)
>> busybox_cfg('ipv6', distro_features, 'CONFIG_FEATURE_IFUPDOWN_IPV6', cnf, rem)
>> + busybox_cfg('tiny', distro_features, 'CONFIG_SETSID', cnf, rem)
>> + busybox_cfg('tiny', distro_features, 'CONFIG_CTTYHACK', cnf, rem)
>> return "\n".join(cnf), "\n".join(rem)
>>
>> # X, Y = ${@features_to_uclibc_settings(d)}
>
> What exactly is the mission of the "tiny" DISTRO_FEATURE? It doesn't
> seem very wholesome for it to be enabling a random grab-bag of bits in
> busybox (or anywhere else).
The idea is to avoid having to bbappend busybox and other recipes
basically. I can see how "tiny" is different than "ipv4" as it isn't
explicit it what it enables, making it a "grab-bag" as you put it.
I could come up with a term that describes systems without complex init
systems that need to be able to setup their own shells easily.
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), but I wouldn't think either should be a huge
deal to just include. I thought the DISTRO_FEATURE was a reasonable
compromise between that and having to maintain a bbappend outside of
oe-core.
>
> If poky-tiny wants those features enabled then it can, and should, ship
> its own configuration for busybox which turns them on. I think that
> would be better than further proliferation of switches in oe-core.
>
How would you feel about just including these two features in the
defconfig then?
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
next prev parent reply other threads:[~2012-06-14 14:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1339650859.git.dvhart@linux.intel.com>
2012-06-14 5:19 ` [PATCH 2/3] busybox: Add setsid and cttyhack for tiny DISTRO_FEATURE Darren Hart
2012-06-14 5:21 ` Darren Hart
2012-06-14 7:05 ` Khem Raj
2012-06-15 22:22 ` Darren Hart
2012-06-15 22:57 ` Darren Hart
2012-06-14 9:41 ` Phil Blundell
2012-06-14 13:55 ` Darren Hart [this message]
2012-06-14 14:26 ` Phil Blundell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FD9ED69.50800@linux.intel.com \
--to=dvhart@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=philb@gnu.org \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox