* Layer priorities & package selection
@ 2016-08-04 7:28 Gujulan Elango, Hari Prasath (H.)
2016-08-04 13:21 ` Maciej Borzęcki
2016-08-05 2:21 ` Khem Raj
0 siblings, 2 replies; 7+ messages in thread
From: Gujulan Elango, Hari Prasath (H.) @ 2016-08-04 7:28 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 2869 bytes --]
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 ?
meta-ivi:
[mailto:hgujulan@chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-ivi$]hgujulan@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@chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-ivi$]hgujulan@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@chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-renesas$]hgujulan@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@chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-renesas$]hgujulan@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
[-- Attachment #2: Type: text/html, Size: 4729 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Layer priorities & package selection
2016-08-04 7:28 Layer priorities & package selection Gujulan Elango, Hari Prasath (H.)
@ 2016-08-04 13:21 ` Maciej Borzęcki
2016-08-04 16:47 ` where to find license files? Fred Ollinger
2016-08-04 19:46 ` Layer priorities & package selection robert.berger@gmane
2016-08-05 2:21 ` Khem Raj
1 sibling, 2 replies; 7+ messages in thread
From: Maciej Borzęcki @ 2016-08-04 13:21 UTC (permalink / raw)
To: Gujulan Elango, Hari Prasath (H.); +Cc: yocto@yoctoproject.org
On Thu, Aug 4, 2016 at 9:28 AM, Gujulan Elango, Hari Prasath (H.)
<hgujulan@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@chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-ivi$]hgujulan@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@chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-ivi$]hgujulan@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@chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-renesas$]hgujulan@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@chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-renesas$]hgujulan@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
--
Maciej Borzecki
RnDity
^ permalink raw reply [flat|nested] 7+ messages in thread
* where to find license files?
2016-08-04 13:21 ` Maciej Borzęcki
@ 2016-08-04 16:47 ` Fred Ollinger
2016-08-04 17:32 ` Gary Thomas
2016-08-04 19:46 ` Layer priorities & package selection robert.berger@gmane
1 sibling, 1 reply; 7+ messages in thread
From: Fred Ollinger @ 2016-08-04 16:47 UTC (permalink / raw)
To: yocto@yoctoproject.org
I'm working on getting a list of license files and I don't know where to get the exact text of each license.
Is there a place where this is provided by yocto?
For example, is there some directory which has all the license files?
I see there's an md5sum for each file so I assume this is the case.
Thanks in advance.
Frederick Ollinger
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: where to find license files?
2016-08-04 16:47 ` where to find license files? Fred Ollinger
@ 2016-08-04 17:32 ` Gary Thomas
2016-08-05 2:29 ` Khem Raj
0 siblings, 1 reply; 7+ messages in thread
From: Gary Thomas @ 2016-08-04 17:32 UTC (permalink / raw)
To: yocto
On 2016-08-04 18:47, Fred Ollinger wrote:
> I'm working on getting a list of license files and I don't know where to get the exact text of each license.
>
> Is there a place where this is provided by yocto?
>
> For example, is there some directory which has all the license files?
>
> I see there's an md5sum for each file so I assume this is the case.
After you build an image, look in <BUILD>/tmp/deploy/licenses/*
These are the exact licenses used by your image
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: where to find license files?
2016-08-04 17:32 ` Gary Thomas
@ 2016-08-05 2:29 ` Khem Raj
0 siblings, 0 replies; 7+ messages in thread
From: Khem Raj @ 2016-08-05 2:29 UTC (permalink / raw)
To: Gary Thomas, yocto
On 8/4/16 10:32 AM, Gary Thomas wrote:
> On 2016-08-04 18:47, Fred Ollinger wrote:
>> I'm working on getting a list of license files and I don't know where
>> to get the exact text of each license.
>>
>> Is there a place where this is provided by yocto?
>>
>> For example, is there some directory which has all the license files?
>>
>> I see there's an md5sum for each file so I assume this is the case.
>
> After you build an image, look in <BUILD>/tmp/deploy/licenses/*
>
> These are the exact licenses used by your image
>
You may not be able to say exact since, in some cases, it will copy a
template text of a given license from common templates. so you should
inspect them manually. see the image license manifest and determine
which all packages made into your image and review each one of them
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Layer priorities & package selection
2016-08-04 13:21 ` Maciej Borzęcki
2016-08-04 16:47 ` where to find license files? Fred Ollinger
@ 2016-08-04 19:46 ` robert.berger@gmane
1 sibling, 0 replies; 7+ messages in thread
From: robert.berger@gmane @ 2016-08-04 19:46 UTC (permalink / raw)
To: yocto; +Cc: yocto-EtnWKYl6rD/WsZ/bQMPhNw@public.gmane.org
Hi,
On 2016-08-04 16:21, Maciej Borzęcki wrote:
>
> 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.
BBMASK does not seem to apply only to local.conf anymore[1], so this
might not just be a temporary solution.
[1] https://lists.yoctoproject.org/pipermail/poky/2016-January/010358.html
Regards,
Robert
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Layer priorities & package selection
2016-08-04 7:28 Layer priorities & package selection Gujulan Elango, Hari Prasath (H.)
2016-08-04 13:21 ` Maciej Borzęcki
@ 2016-08-05 2:21 ` Khem Raj
1 sibling, 0 replies; 7+ messages in thread
From: Khem Raj @ 2016-08-05 2:21 UTC (permalink / raw)
To: Gujulan Elango, Hari Prasath (H.), yocto@yoctoproject.org
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@chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-ivi$]hgujulan@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@chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-ivi$]hgujulan@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@chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-renesas$]hgujulan@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@chipd010:~/project/monarch/release_testing/monarch-1.2.0/monarch-distribution/meta-renesas$]hgujulan@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
>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-08-05 2:28 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-04 7:28 Layer priorities & package selection Gujulan Elango, Hari Prasath (H.)
2016-08-04 13:21 ` Maciej Borzęcki
2016-08-04 16:47 ` where to find license files? Fred Ollinger
2016-08-04 17:32 ` Gary Thomas
2016-08-05 2:29 ` Khem Raj
2016-08-04 19:46 ` Layer priorities & package selection robert.berger@gmane
2016-08-05 2:21 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.