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

Burton, Ross ross.burton at intel.com
Mon Jul 28 13:00:54 UTC 2014


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



More information about the Openembedded-core mailing list