Thread (7 messages) 7 messages, 4 authors, 2016-05-25
STALE3656d

[PATCH] connman: add alias for connman

From: Zhenbo Gao <hidden>
Date: 2016-05-25 07:11:12
Subsystem: the rest · Maintainer: Linus Torvalds

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 <redacted>
---
 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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help