[OE-core] [PATCH 1/1] sanity.bbclass: a new check for required distro features

Otavio Salvador otavio at ossystems.com.br
Tue Aug 20 12:10:44 UTC 2013


On Tue, Aug 20, 2013 at 9:01 AM, Burton, Ross <ross.burton at intel.com> wrote:
> On 20 August 2013 12:58, Otavio Salvador <otavio at ossystems.com.br> wrote:
>>> Are there any situations where these distro feature dependencies can't
>>> be expressed more precisely in a package recipe, and then something
>>> like Otavio's approach of throwing a SkipPackage used?
>>
>> I have several cases in meta-fsl-demos. Vivante GPU driver provides
>> different libraries depending on the backend to use (DirectFB, FB,
>> Wayland and X11) and they cannot be used at same time. So depending on
>> distro features setting some images are buildable or not.
>
> And does distro_features_check.bbclass work for those?

Yes; I did it to accomplish our needs. So it does.

>> In fact I see same case in OE-Core; core-image-weston /depends/ on
>> wayland distro feature and this is not explicit in metadata nowadays.
>
> Yes, and it should definitely be checked for.

Agreed.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list