[yocto] Layer priorities & package selection

Maciej Borzęcki maciej.borzecki at rndity.com
Thu Aug 4 06:21:41 PDT 2016


On Thu, Aug 4, 2016 at 9:28 AM, Gujulan Elango, Hari Prasath (H.)
<hgujulan at visteon.com> 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 ?

Try moving the recipe to your layer (provided yours is of higher
priority). I often go with per project BSP layers that adjust the low
level pieces of the target, such as kernel configs etc., while
applications stay in application-only layer.

Another option that I see is to set BBMASK =
"meta-ivi/recipes-graphics/wayland/" in local.conf, but that's a bit
ugly, hence I'd say it's a temporary solution only.

>
>
>
> 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
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



-- 
Maciej Borzecki
RnDity



More information about the yocto mailing list