From: Mark Hatle <mark.hatle@windriver.com>
To: Phil Blundell <pb@pbcl.net>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] base.bbclass: Add support to EXTRA_DISTRO_FEATURES
Date: Tue, 30 Jul 2013 10:43:40 -0500 [thread overview]
Message-ID: <51F7DF2C.9030207@windriver.com> (raw)
In-Reply-To: <1375197551.8017.6.camel@phil-desktop.brightsign>
On 7/30/13 10:19 AM, Phil Blundell wrote:
> On Tue, 2013-07-30 at 09:46 -0500, Mark Hatle wrote:
>> They want a method similar to the one posted by Otavio in order to tailor the
>> system. End users never want to create a new distribution, they simply want to
>> start with one and tweak it.
>
> They can already do that by overriding the distro's own DISTRO_FEATURES
> in local.conf (modulo poky's alleged _append thing), and/or by copying
> and hacking the distro.conf file itself. And, of course, any distro
> which intends itself to be explicitly end-user-tweakable like this is
> welcome to include a mechanism like Otavio's one in their own layer.
Unfortunately we may have to include functionality like this to address this
problem. But deviating from oe-core has potentially significant maintenance
issues, especially long-term.
Reality is this is functionality that I've been asked for multiple time in the
last year or so, and I've stated back "don't do that". To which the end user
(my customer) has said that isn't acceptable.
So I'd advocate this, or similar functionality is definitely desired by a class
of users (many less knowledgeable about Linux distribution design), even though
I do agree it's not the right way to do it. (The whole concept of the
distribution settings being 'variable' without a new distribution configuration
file is incorrect to me.)
>> So with that said, my opinion is to enable this code, allowing end users to
>> tweak their distribution settings. But make it a stated policy that
>> distribution layers should only "set" the value of DISTRO_FEATURES, and should
>> never modify/update this new EXTRA_DISTRO_FEATURES value. (Of course, I doubt
>> there is a way to police that, other then state it's policy.)
>
> Both end-users and distro maintainers already have enough trouble
> understanding what the interactions are between the different variables
> and who's meant to be setting which ones (see DISTRO_FEATURES_BACKFILL
> for example which seems to be fairly frequently misunderstood). Adding
> extra complexity to what is already a fraught area seems like a bad
> plan.
>
>> This is the same type of reason that end users was a "don't install this
>> package" feature as well. While anyone can write a new image recipe, nobody
>> wants to, especially when they only want one or two less packages in their image.
>
> End users already have BAD_RECOMMENDATIONS for that, right? And
> courtesy Paul's recent changes I think this now even works for the
> rpm-using fraternity.
That only filters out recommendations though. A good example is some x86
packagegroups have a requirement of 'vte'. It turns out a class of end users
don't want 'vte'. And they have no easy way to remove it. Telling them to
generate a new image, with a custom IMAGE_INSTALL value that includes everything
except 'vte' doesn't make sense to them.
(The bad_recommendations thing is sorely needed as well to help prevent the "why
the hell did this get there" problem as well..)
--Mark
> p.
>
>
next prev parent reply other threads:[~2013-07-30 15:43 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-29 22:26 [PATCH] base.bbclass: Add support to EXTRA_DISTRO_FEATURES Otavio Salvador
2013-07-29 22:35 ` Otavio Salvador
2013-07-29 22:35 ` Otavio Salvador
2013-07-29 22:57 ` Rogerio Nunes
2013-07-29 22:57 ` [OE-core] " Rogerio Nunes
2013-07-30 5:27 ` Abhijit Potnis
2013-07-30 10:59 ` Paul Eggleton
2013-07-30 12:00 ` Otavio Salvador
2013-07-30 12:14 ` Phil Blundell
2013-07-30 12:24 ` Otavio Salvador
2013-07-30 14:46 ` Mark Hatle
2013-07-30 15:09 ` Paul Eggleton
2013-07-30 15:37 ` Mark Hatle
2013-07-30 15:19 ` Phil Blundell
2013-07-30 15:43 ` Mark Hatle [this message]
2013-07-30 16:05 ` Phil Blundell
2013-07-30 21:00 ` Otavio Salvador
2013-07-30 21:01 ` Otavio Salvador
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=51F7DF2C.9030207@windriver.com \
--to=mark.hatle@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=pb@pbcl.net \
/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 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.