From: Mark Hatle <mark.hatle@windriver.com>
To: <bitbake-devel@lists.openembedded.org>
Subject: Re: [OE-core] Layer priorities influencing default version selection
Date: Tue, 2 Aug 2011 09:55:53 -0500 [thread overview]
Message-ID: <4E380FF9.7090106@windriver.com> (raw)
In-Reply-To: <CABcZANmfd=HbE-wLQ6y-6s_DNYOhDQ7uYPuJ=Yebb6cpVpnykA@mail.gmail.com>
At Wind River, in our non bitbake based build system, the way layers work is
based on ordering.
The last layer listed has the highest priority. So whatever is specified in
that layer (lower or higher versions) wins. All of the priority information is
selected based on the equivalent of the order of entries in the BBLAYERS.
However, unlike bitbake -- in the WR build system we can only have one version
of a package available at any time.
(There is a second level of ordering for configuration files. For instance if
you are looking for foo.conf, it will search the highest priority layer first
and work it's way down. If foo.conf includes itself, foo.conf, it will
automatically search starting with the next lower priority layer. If you
include a differently named configuration file it starts back at the highest
priority layer. This is what allows a layer to provide snippets of
configuration files. -- I'm not sure this is relevant to this conversation
though... but I thought I'd point out a characteristic of the ordering.)
--Mark
On 8/2/11 9:27 AM, Chris Larson wrote:
> On Tue, Aug 2, 2011 at 7:21 AM, Paul Eggleton
> <paul.eggleton@linux.intel.com> wrote:
>> On Tuesday 02 August 2011 15:14:41 Chris Larson wrote:
>>> as config/class priority is
>>> determined by order of entries in BBLAYERS, whereas recipe priority is
>>> determined by layer.conf.
>>
>> Is that a good thing though? At the moment I'm not convinced that it is.
>
> I probably could have worded my reply better. I was pointing out the
> fact that the order is determined in two places right now as being one
> reason why I agreed with his statement that ordering determined by the
> layer isn't ideal.
next prev parent reply other threads:[~2011-08-02 15:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-02 11:26 Layer priorities influencing default version selection Paul Eggleton
2011-08-02 13:45 ` [OE-core] " Richard Purdie
2011-08-02 13:52 ` Phil Blundell
2011-08-02 14:14 ` Chris Larson
2011-08-02 14:21 ` Paul Eggleton
2011-08-02 14:27 ` Chris Larson
2011-08-02 14:51 ` Paul Eggleton
2011-08-02 14:55 ` Mark Hatle [this message]
2011-08-02 15:35 ` Khem Raj
2011-08-25 10:50 ` Paul Eggleton
2011-08-25 15:56 ` Khem Raj
2011-08-25 16:58 ` Paul Eggleton
2011-08-25 21:23 ` Martin Jansa
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=4E380FF9.7090106@windriver.com \
--to=mark.hatle@windriver.com \
--cc=bitbake-devel@lists.openembedded.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