[OE-core] --conf Was: Features in Yocto Project 1.7

Martin Jansa martin.jansa at gmail.com
Wed Mar 26 14:46:54 UTC 2014


On Wed, Mar 26, 2014 at 10:33:04AM -0400, Trevor Woerner wrote:
> On 03/25/14 01:50, Martin Jansa wrote:
> > Can you show some example of config you need to have wor wayland and
> > cannot have for core-image-minimal? 
> 
> Okay, good point. I should have thought harder to come up with a better
> example :-) It's funny, actually, that you're the one pressing me on
> this, I first encountered this issue and started thinking about it while
> trying to reproduce your "State of bitbake world" tests :-)

:) I see, but the point is that I'm not changing those entries based on
what I'm building. It's "customization" which would normally be included
in distro config based on what distro supports, but in this case I'm
using nodistro and want to build test more than what's "supported" in
nodistro.

> Let's say you're a board maintainer; some people want to run gstreamer,
> some people want to try out systemd, some want to run wayland. Each of
> these requires tweaks to a conf/local.conf, no? I'm constantly changing
> my set of IMAGE_INSTALL_append's, fiddling with preferred versions, and
> distro features.

Yes, people often need to tweak local.conf, but my point is that they
shouldn't tweak it based on what they are going to build.

e.g. if I decide to build qtbase with icu enabled, then I should use the
same qtbase in core-image-minimal and wayland-image, otherwise I'll see
a lot of rebuilds and not-so-good sstate reuse (especially if you often
use sstate-cache-management which will remove your 2nd qt* variants
between the builds).

> If I'm just doing a one-off build then sure, adjust conf/local.conf
> manually. But if I'm perpetually rotating between a bunch of tests as
> repositories are modified, it would be easier to just specify which
> configuration I want from the bitbake cmdline.
> 
> As I mentioned, maybe I'm doing things wrong? Maybe others have separate
> build locations, or maybe others define their own images which
> incorporate these adjustments? But I'd be quite surprised to find I'm
> the only one having to edit conf/local.conf to comment/un-comment blocks
> before every build.
> 
> As a concrete example, currently I'm flipping between dora and master
> builds. For some reason I can't seem to reuse the same TMPDIR between
> them. So every time I "repo init -b <newbranch>" I then also have to
> edit conf/local.conf before bitbaking.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140326/3b7d1904/attachment-0002.sig>


More information about the Openembedded-core mailing list