[OE-core] [PATCH 2/2] base: make feature backfilling happen earlier
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Mon Jan 28 13:55:05 UTC 2013
Richard Purdie <richard.purdie at linuxfoundation.org> writes:
>> > Backfilling DISTRO_FEATURES and MACHINE_FEATURES with _append statements
>> > happens too late to use those variables with conditional inherits, like
>> > this:
>>
>> This causes regressions for setups where DISTRO_FEATURES_BACKFILL uses
>> the override mechanism. E.g. I have
>>
>> | DISTRO_FEATURES_BACKFILL_mydist = "ld-is-gold ${${PROJECT_FEATURES}"
>> | DISTRO_FEATURES_INITMAN_mydist = "systemd"
>>
>> Before this commit, DISTRO_FEATURES contained 'ld-is-gold' and the
>> project features. Now, project features + ld-is-gold vanished and
>> pulseaudio is in again.
>
> I don't think its possible to make everything work :(
>
> The question is therefore how do we want to proceed? I'll take further
> proposed patches but I don't know what the best thing to do here is...
I made my setup (--> overriding DISTRO_FEATURES_BACKFILL by distro
configuration) working again by assigning it weakly in bitbake.conf:
-DISTRO_FEATURES_BACKFILL = "pulseaudio ${DISTRO_FEATURES_INITMAN}"
+DISTRO_FEATURES_BACKFILL ?= "pulseaudio ${DISTRO_FEATURES_INITMAN}"
ditto for MACHINE_FEATURES_BACKFILL.
Enrico
More information about the Openembedded-core
mailing list