[yocto] Layer priorities & package selection

Khem Raj raj.khem at gmail.com
Thu Aug 4 19:21:13 PDT 2016



On 8/4/16 12:28 AM, Gujulan Elango, Hari Prasath (H.) wrote:
> Hello all,
> 
> 
> We are having two yocto layers in our project. One is SoC specific layer
> and the other is the meta-ivi. Now we have two packages provided by both
> these layers. wayland_1.9.0 & weston_1.9.0. We want both these packages
> from the SoC specific layer and not the ones that are coming from
> meta-ivi. The reason being that the SoC vendor has done some
> modifications for hw acceleration and stuff like that. Since meta-ivi is
> having higher priority( Priority: 7) than the SoC specific
> layer(Priority : 6) , naturally these packages are provided by meta-ivi
> and not the Soc layer which we actually want.
> 
> 
> How to modify the layer priority without touching the layer specific
> conf file ? Can we have a append to the layer conf file ?

bbappends only work for recipe metadata not for config metadate space,
so no it wont be possible. You might BBMASK off the meta-ivi recipes.
ideally, its better if SOC layers append to such recipes from common
layers. So you might want to see if that is doable with your SOC layer
then you should propose a patch for your SOC layer to do so.

> 
> 
> 
> _meta-ivi:_
> 
> [mailto:hgujulan at chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-ivi$]hgujulan at chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-ivi$
> find . -name "wayland*"
> ./meta-ivi/recipes-graphics/wayland
> ./meta-ivi/recipes-graphics/wayland/wayland_1.9.0.bb
> 
> 
> [mailto:hgujulan at chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-ivi$]hgujulan at chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-ivi$
> find . -name "weston*"
> ./meta-ivi/recipes-graphics/wayland/weston
> ./meta-ivi/recipes-graphics/wayland/weston/weston.png
> ./meta-ivi/recipes-graphics/wayland/weston/weston.desktop
> ./meta-ivi/recipes-graphics/wayland/weston_1.9.0.bb
> ./meta-ivi/recipes-graphics/wayland/weston_1.9.0.bbappend
> ./meta-ivi-bsp/recipes-graphics/weston
> 
>  
> 
> _meta-renesas:_
> 
>  
> 
> [mailto:hgujulan at chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-renesas$]hgujulan at chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-renesas$
> find . -name "wayland*"
> ./meta-rcar-gen3/recipes-graphics/wayland
> ./meta-rcar-gen3/recipes-graphics/wayland/wayland_1.9.0.bb
> 
>  
> 
> [mailto:hgujulan at chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-renesas$]hgujulan at chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-renesas$
> find . -name "weston*"
> ./meta-rcar-gen3/recipes-graphics/wayland/weston.inc
> ./meta-rcar-gen3/recipes-graphics/wayland/weston-init.bbappend
> ./meta-rcar-gen3/recipes-graphics/wayland/weston
> ./meta-rcar-gen3/recipes-graphics/wayland/weston/weston.png
> ./meta-rcar-gen3/recipes-graphics/wayland/weston/weston.desktop
> ./meta-rcar-gen3/recipes-graphics/wayland/weston_%.bbappend
> ./meta-rcar-gen3/recipes-graphics/wayland/weston-init
> ./meta-rcar-gen3/recipes-graphics/wayland/weston-init/weston.service
> ./meta-rcar-gen3/recipes-graphics/wayland/weston_1.9.0.bb
> ./meta-rcar-gen3/recipes-graphics/wayland/weston_1.9.0.bbappend
> 
> 
> 
> Thanks & Regards,
> 
> Hari Prasath
> 
> 
> 



More information about the yocto mailing list