[yocto] Doubt about layer priority and package version preference

Khem Raj raj.khem at gmail.com
Fri Mar 29 07:17:18 PDT 2013


Saurav

On Mar 29, 2013, at 4:29 AM, saurav <sauravkg at huawei.com> wrote:

> Hi,
> 
> I am having some doubt about the yocto 1.3.  can anyone clarify the same?
> 
> Is there any change done in yocto 1.3 about the layer priority and package
> version preference? I observed that 
> 
> In yocto1.2: Package version takes preference over the layer priority.  Ex.
> If 1.0 version of package-1 is present in layer1 with higher priority then
> layer2 which contains 2.0 version of package-1, then while building 2.0
> version of package-1 is considered though layer priority is otherwise but
> 
> In Yocto1.3: Layer priority takes preference over package version. 


If you do not lock version of recipe as preferred then bit bake will choose the newest
available as per versioning rules (similar to debian versioning rules) and it should be
considering all configured layers via bblayers.

> 
> Regards,
> Saurav
> 
> 
> 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto




More information about the yocto mailing list