[yocto] Conflicts: Meta-layers with same priority

SatyaNarayana Sampangi satya.2891 at gmail.com
Sun Feb 26 20:37:13 PST 2017


Thanks Paul.

-Satya Sampangi

On Mon, Feb 27, 2017 at 2:31 AM, Paul Eggleton <
paul.eggleton at linux.intel.com> wrote:

> On Sunday, 26 February 2017 9:24:05 PM NZDT SatyaNarayana Sampangi wrote:
> > Hi all,
> >
> > I need to know, if two meta-layers in poky has the same priority, then
> how
> > it is resolved.
> >
> > say e.g,
> >
> > mylayer-1 with default priority:6
> > mylayer-2 with default priority:6
> >
> > How it will be resolved.
>
> If you mean which of two recipes with the same name will be selected, it
> will
> be the same as if the recipes were in the same layer - i.e. other
> mechanisms
> such as the version number (higher is preferred); DEFAULT_PREFERENCE (if
> specified); or PREFERRED_VERSION_recipename will be used to determine which
> gets selected.
>
> In general if one of these layers is under your control you are probably
> best
> advised to set the priority different there as desired, or use
> PREFERRED_VERSION to explicitly choose the desired version for recipes
> which
> are overlayed.
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170227/83221d1a/attachment.html>


More information about the yocto mailing list