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

Burton, Ross ross.burton at intel.com
Tue Aug 20 12:01:01 UTC 2013


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?

> 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.

Ross



More information about the Openembedded-core mailing list