From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Gary Thomas <gary@mlbassoc.com>
Cc: yocto@yoctoproject.org
Subject: Re: setting of BBPATH differs between ref manual and actual layer.conf file
Date: Wed, 21 Mar 2012 14:24:21 +0000 [thread overview]
Message-ID: <5626092.n39Mf9gN6O@helios> (raw)
In-Reply-To: <4F69BA1B.8030500@mlbassoc.com>
On Wednesday 21 March 2012 05:23:07 Gary Thomas wrote:
> Indeed it does matter, as does the order that these statements are processed
> (which I think is the order the layers are listed in bblayers.conf?)
Correct - each layer's layer.conf will be read in the order the layers are
listed in bblayers.conf. Since variables such as BBPATH are usually appended
or prepended within layer.conf, you will get different final values depending on
the order they are listed.
> It can matter if two layers contain the same .conf file [at least]. I
> experienced this when I had two layers with abi_version.conf - actually
> three: meta, meta-yocto and meta-MINE - and I got very confused when I
> removed meta-yocto from the mix :-(
I have to say, IMHO it is best practice to not expect to be able to change
your layer configuration and keep the same previously-built TMPDIR contents.
Now that we've enabled OEBasicHash (in Poky) that will protect you against
most changes that could result from playing around with your layer config by
forcing a rebuild of the affected recipes, but if you don't have that enabled
it's entirely possible the contents of your TMPDIR (sysroots, output packages,
etc.) will no longer match up with the metadata.
> The ordering of BBPATH isn't as important with recipes as they use the layer
> priority mechanism, but if you had two layers with identical priorities and
> recipes, it might matter as well.
BBPATH only influences how class, configuration and include files are found. It
has no effect on searching for recipes themselves.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
prev parent reply other threads:[~2012-03-21 14:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-21 11:08 setting of BBPATH differs between ref manual and actual layer.conf file Robert P. J. Day
2012-03-21 11:12 ` Robert P. J. Day
2012-03-21 11:23 ` Gary Thomas
2012-03-21 14:24 ` Paul Eggleton [this message]
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=5626092.n39Mf9gN6O@helios \
--to=paul.eggleton@linux.intel.com \
--cc=gary@mlbassoc.com \
--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 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.