On 04/06/2015 04:39 PM, Christopher
Larson wrote:
Thank you. So, if I understand correctly, the effect of adding
bluez5 to DISTRO_FEATURES_BACKFILL while keeping the current logic:
# bluetooth support on the platform:
# "" if bluetooth is not in DISTRO_FEATURES
# else "bluez5" if bluez5 is in DISTRO_FEATURES
# else "bluez4"
is that bluez5 becomes the default and is in DISTRO_FEATURES
automatically, and it stays the default even if bluez4 is also in
DISTRO_FEATURES unless somebody adds bluez5 to
DISTRO_FEATURES_BACKFILL_CONSIDERED at which point bluez4 takes
precedence.
If that understanding is correct, and reviewing
http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#ref-features-backfill,
it's not clear to me that it's the right approach. We're not
backfilling "bluetooth", which remains optional and continues to
control whether either "bluez4" or "bluez5" is relevant. We're
changing the default provider of bluetooth services, something that
I think can reasonably be changed between releases, and something
that 1.8 already controls (via explicit specification of bluez4 or
bluez5 in DISTRO_FEATURES).
In the absence of more detail on why using DISTRO_FEATURES_BACKFILL
is a better solution I prefer Cristian's original approach.
Peter