[OE-core] [PATCH 1/3] volatile-binds: add recipe

ChenQi Qi.Chen at windriver.com
Tue Jul 29 02:06:09 UTC 2014


On 07/28/2014 09:00 PM, Burton, Ross wrote:
> On 28 July 2014 06:34, Chen Qi <Qi.Chen at windriver.com> wrote:
>> +# This package is only for systemd based systems. So building it with 'systemd'
>> +# missing in DISTRO_FEATURES makes no sense.
>> +python () {
>> +    if not bb.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d):
>> +        raise bb.parse.SkipPackage("'systemd' not in DISTRO_FEATURES")
>> +}
> There's a class to help with this: distro_features_check.bbclass.
>
> Ross
>
>

Got it. I'll send out a V2.

Thanks!

//Chen Qi



More information about the Openembedded-core mailing list