[OE-core] [PATCH 05/12] volatiles.bbclass: add recipe
Burton, Ross
ross.burton at intel.com
Thu Jan 24 11:45:20 UTC 2013
On 24 January 2013 11:37, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
>> > +inherit ${@base_contains('DISTRO_FEATURES','sysvinit','volatiles_sysvinit','',d)}
>>
>> Does "inherit " work?
>>
>> I mean empty inherit when DISTRO_FEATURES don't contain sysvinit? IIRC
>> it will fail to parse.
>
> The above syntax does now work. A plain "inherit " won't but something
> with an expression in does get handled correctly. It did not used to
> work with older bitbake versions.
The syntax works but that expression won't. If sysvinit was backfilled
(pending patch from Marcin) because the distribution didn't pick
sysvinit or systemd explicitly, the backfill happens after this
expression is parsed.
I'm testing a change where these tests happen against
DISTRO_FEATURES_INITMAN instead now.
Ross
More information about the Openembedded-core
mailing list