diff options
author | Cristian Iorga <cristian.iorga@intel.com> | 2013-08-21 13:02:03 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-23 16:20:14 +0100 |
commit | 747f5bee1bc60749c102552a1d7e9e419b62c7b9 (patch) | |
tree | 1109e7c1dfdbac0b6c40891732534f36a85fb806 /meta/conf/distro | |
parent | ae8e3b65755d3941f50bd96d4b5d878e901f08d0 (diff) | |
download | poky-747f5bee1bc60749c102552a1d7e9e419b62c7b9.tar.gz |
default-providers: Set the preferred provider for bluez
There is a need for a default provider for bluez
now that bluez5 recipe is also present.
After the introduction of bluez5 recipe,
the following warnings are displayed:
"NOTE: multiple providers are available for runtime libasound-module-bluez (bluez4, bluez5)
NOTE: consider defining a PREFERRED_PROVIDER entry to match libasound-module-bluez"
Upon debug, bitbake shows:
DEBUG: checking PREFERRED_PROVIDER_bluez4 (value None) against ['bluez4', 'bluez5']
DEBUG: checking PREFERRED_PROVIDER_bluez4-4.101 (value None) against ['bluez4', 'bluez5']
DEBUG: checking PREFERRED_PROVIDER_bluez4-4.101-r5 (value None) against ['bluez4', 'bluez5']
DEBUG: checking PREFERRED_PROVIDER_bluez5 (value None) against ['bluez4', 'bluez5']
DEBUG: checking PREFERRED_PROVIDER_bluez5-5.7 (value None) against ['bluez4', 'bluez5']
DEBUG: checking PREFERRED_PROVIDER_bluez5-5.7-r0 (value None) against ['bluez4', 'bluez5']
Bitbake is faced with the question "what should provide libasound-module-bluez?"
which is a runtime name. It needs to try and find a PREFERRED_PROVIDER entry
which matches this but those use *build time* naming. So it converts "libasound-module-bluez"
into the canonical ${PN} of bluez4 and bluez5 and then tries to look those up.
What it actually should do is go one step further of mapping bluez4/bluez5
into the virtual/bluez but that does not happen.
Bug opened on this issue: YB5044
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5044
[YOCTO #5030]
(From OE-Core rev: 6f07d066074b1e01ff3c16408812e6b6d5e531ac)
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/distro')
-rw-r--r-- | meta/conf/distro/include/default-providers.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc index 67cc5f5bea..a804089e5c 100644 --- a/meta/conf/distro/include/default-providers.inc +++ b/meta/conf/distro/include/default-providers.inc | |||
@@ -39,3 +39,6 @@ PREFERRED_PROVIDER_console-tools ?= "kbd" | |||
39 | PREFERRED_PROVIDER_gzip-native ?= "pigz-native" | 39 | PREFERRED_PROVIDER_gzip-native ?= "pigz-native" |
40 | PREFERRED_PROVIDER_make ?= "make" | 40 | PREFERRED_PROVIDER_make ?= "make" |
41 | PREFERRED_PROVIDER_udev ?= "${@base_contains('DISTRO_FEATURES','systemd','systemd','udev',d)}" | 41 | PREFERRED_PROVIDER_udev ?= "${@base_contains('DISTRO_FEATURES','systemd','systemd','udev',d)}" |
42 | # There are issues with runtime packages and PREFERRED_PROVIDER, see YOCTO #5044 for details | ||
43 | # on this rather strange entry. | ||
44 | PREFERRED_PROVIDER_bluez4 ?= "bluez4" | ||