[yocto] Conflicts: Meta-layers with same priority
Paul Eggleton
paul.eggleton at linux.intel.com
Sun Feb 26 13:01:43 PST 2017
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
More information about the yocto
mailing list