[OE-core] [PATCH] connman: add alias for connman
Zhenbo Gao
zhenbo.gao at windriver.com
Wed May 25 07:11:05 UTC 2016
connman get conflicts with networkmanager when building
the project.
here introduce alias virtual/networkmanager for these
two recipes, so setting PREFERRED_PROVIDER to the proper
one can solve the conflicts.
this patch is for connman recipe.
Signed-off-by: Zhenbo Gao <zhenbo.gao at windriver.com>
---
meta/recipes-connectivity/connman/connman.inc | 1 +
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index c375251..b5fc572 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -94,6 +94,7 @@ do_install_append() {
# These used to be plugins, but now they are core
RPROVIDES_${PN} = "\
+ virtual/networkmanager \
connman-plugin-loopback \
connman-plugin-ethernet \
${@bb.utils.contains('PACKAGECONFIG', 'bluetooth','connman-plugin-bluetooth', '', d)} \
diff --git a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
index aa88cf9..6d7d6af 100644
--- a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
@@ -28,7 +28,7 @@ RDEPENDS_packagegroup-self-hosted = "\
"
RDEPENDS_packagegroup-self-hosted-host-tools = "\
- connman \
+ virtual/networkmanager \
connman-plugin-ethernet \
dhcp-client \
e2fsprogs \
--
1.9.1
More information about the Openembedded-core
mailing list