networkmanager: add alias for networkmanager
PATCH 1/1 networkmanager: add alias for networkmanager
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 networkmanager recipe.
--- meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb | 1 + meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb +1 -0
@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b \ " DEPENDS = "libnl dbus dbus-glib libgudev util-linux libndp libnewt polkit" +PROVIDES = "virtual/networkmanager" inherit gnomebase gettext systemd bluetooth bash-completion vala gobject-introspection
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb +1 -1
@@ -34,7 +34,7 @@ FILES_xfce4-powermanager-plugin = " \ " RDEPENDS_xfce4-powermanager-plugin = "${PN}" -RDEPENDS_${PN} = "networkmanager ${@bb.utils.contains('DISTRO_FEATURES','systemd','','consolekit',d)}" +RDEPENDS_${PN} = "virtual/networkmanager ${@bb.utils.contains('DISTRO_FEATURES','systemd','','consolekit',d)}" # xfce4-brightness-plugin was replaced by xfce4-powermanager-plugin RPROVIDES_xfce4-powermanager-plugin += "xfce4-brightness-plugin"
Signature · 1 line
1.9.1
Quoted 5 lines
Op 25 mei 2016, om 09:01 heeft Zhenbo Gao <[email protected]> het volgende geschreven:
connman get conflicts with networkmanager when building the project.
What’s the conflict? I’m hesitant to add yet another virtual since history has shown that most OE people can’t deal with the consequences and maintenance load for keeping the virtuals working
Quoted 41 lines
here introduce alias virtual/networkmanager for these two recipes, so setting
PREFERRED_PROVIDERto the proper one can solve the conflicts.this patch is for networkmanager recipe.
Signed-off-by Zhenbo Gao <[email protected]>---
meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb | 1 +
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb | 2 +-2 files changed, 2 insertions(+), 1 deletion(-)meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb +0
-0@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b \"
DEPENDS = "libnl dbus dbus-glib libgudev util-linux libndp libnewt polkit" +PROVIDES = "virtual/networkmanager"
inherit gnomebase gettext systemd bluetooth bash-completion vala gobject-introspection
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb +0
-0@@ -34,7 +34,7 @@ FILES_xfce4-powermanager-plugin = " \"
RDEPENDS_xfce4-powermanager-plugin = "${PN}"
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb +1
-1-RDEPENDS_${PN} = "networkmanager ${@bb.utils.contains('DISTRO_FEATURES','systemd','','consolekit',d)}" +RDEPENDS_${PN} = "virtual/networkmanager ${@bb.utils.contains('DISTRO_FEATURES','systemd','','consolekit',d)}"# xfce4-brightness-plugin was replaced by xfce4-powermanager-plugin RPROVIDES_xfce4-powermanager-plugin += "xfce4-brightness-plugin"Signature · 1 line
1.9.1
Quoted 5 lines · Koen Kooi
Quoted 4 lines
Op 25 mei 2016, om 09:01 heeft Zhenbo Gao <[email protected]> het volgende geschreven:
connman get conflicts with networkmanager when building the project.
What’s the conflict? I’m hesitant to add yet another virtual since history has shown that most OE people can’t deal with the consequences and maintenance load for keeping the virtuals working
Hi Koen Kooi,
Thanks for replying this mail.
When my project includes xfce and self-hosted at the same time, the compile step will fail and the error information shows that networkmanager get conflict with connman:
---
...
Computing transaction...error: Can't install xfce4-power-manager-1.4.4-r0.0@corei7_64: unable to install provider for networkmanager:
error: networkmanager-1.0.4-r0.0@corei7_64 conflicts with connman-1.30-r0.0@corei7_64
...
The dependence relationship is:
xfce4-power-manager --> networkmanager
packagegroup-self-hosted --> connman
Thanks,
Zhenbo
Quoted 40 lines
Quoted 40 lines
here introduce alias virtual/networkmanager for these two recipes, so setting
PREFERRED_PROVIDERto the proper one can solve the conflicts.this patch is for networkmanager recipe.
Signed-off-by Zhenbo Gao <[email protected]>---
meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb | 1 +
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb | 2 +-2 files changed, 2 insertions(+), 1 deletion(-)meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb +0
-0@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b \"
DEPENDS = "libnl dbus dbus-glib libgudev util-linux libndp libnewt polkit" +PROVIDES = "virtual/networkmanager"
inherit gnomebase gettext systemd bluetooth bash-completion vala gobject-introspection
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb +0
-0@@ -34,7 +34,7 @@ FILES_xfce4-powermanager-plugin = " \"
RDEPENDS_xfce4-powermanager-plugin = "${PN}"
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb +1
-1-RDEPENDS_${PN} = "networkmanager ${@bb.utils.contains('DISTRO_FEATURES','systemd','','consolekit',d)}" +RDEPENDS_${PN} = "virtual/networkmanager ${@bb.utils.contains('DISTRO_FEATURES','systemd','','consolekit',d)}"# xfce4-brightness-plugin was replaced by xfce4-powermanager-plugin RPROVIDES_xfce4-powermanager-plugin += "xfce4-brightness-plugin"Signature · 1 line
1.9.1
Quoted 15 lines
Op 25 mei 2016, om 10:40 heeft zhenbo <[email protected]> het volgende geschreven:
Quoted 5 lines · Koen Kooi
Quoted 4 lines
Op 25 mei 2016, om 09:01 heeft Zhenbo Gao <[email protected]> het volgende geschreven:
connman get conflicts with networkmanager when building the project.
What’s the conflict? I’m hesitant to add yet another virtual since history has shown that most OE people can’t deal with the consequences and maintenance load for keeping the virtuals working
Hi Koen Kooi,
Thanks for replying this mail.
Quoted 9 lines
When my project includes xfce and self-hosted at the same time, the compile step will fail and the error information shows that networkmanager get conflict with connman:
---
...
Computing transaction...error: Can't install xfce4-power-manager-1.4.4-r0.0@corei7_64: unable to install provider for networkmanager:
error: networkmanager-1.0.4-r0.0@corei7_64 conflicts with connman-1.30-r0.0@corei7_64
...
The dependence relationship is:
xfce4-power-manager --> networkmanager
packagegroup-self-hosted --> connman
So fix packagegroup-self-hosted to not specify a connection manager, crippling the connman and nm recipes with a virtual isn’t the solution.
Quoted 45 lines
Thanks,
ZhenboQuoted 40 lines
Quoted 40 lines
here introduce alias virtual/networkmanager for these two recipes, so setting
PREFERRED_PROVIDERto the proper one can solve the conflicts.this patch is for networkmanager recipe.
Signed-off-by Zhenbo Gao <[email protected]>---
meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb | 1 +
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb | 2 +-2 files changed, 2 insertions(+), 1 deletion(-)meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb +0
-0@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b \"
DEPENDS = "libnl dbus dbus-glib libgudev util-linux libndp libnewt polkit" +PROVIDES = "virtual/networkmanager"
inherit gnomebase gettext systemd bluetooth bash-completion vala gobject-introspection
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb +0
-0@@ -34,7 +34,7 @@ FILES_xfce4-powermanager-plugin = " \"
RDEPENDS_xfce4-powermanager-plugin = "${PN}"
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb +1
-1-RDEPENDS_${PN} = "networkmanager ${@bb.utils.contains('DISTRO_FEATURES','systemd','','consolekit',d)}" +RDEPENDS_${PN} = "virtual/networkmanager ${@bb.utils.contains('DISTRO_FEATURES','systemd','','consolekit',d)}"# xfce4-brightness-plugin was replaced by xfce4-powermanager-plugin RPROVIDES_xfce4-powermanager-plugin += "xfce4-brightness-plugin"Signature · 1 line
1.9.1
Quoted 23 lines · Koen Kooi
Quoted 14 lines
Op 25 mei 2016, om 10:40 heeft zhenbo <[email protected]> het volgende geschreven:
Quoted 5 lines · Koen Kooi
Quoted 4 lines
Op 25 mei 2016, om 09:01 heeft Zhenbo Gao <[email protected]> het volgende geschreven:
connman get conflicts with networkmanager when building the project.
What’s the conflict? I’m hesitant to add yet another virtual since history has shown that most OE people can’t deal with the consequences and maintenance load for keeping the virtuals working
Hi Koen Kooi,
Thanks for replying this mail.
Quoted 9 lines
When my project includes xfce and self-hosted at the same time, the compile step will fail and the error information shows that networkmanager get conflict with connman:
---
...
Computing transaction...error: Can't install xfce4-power-manager-1.4.4-r0.0@corei7_64: unable to install provider for networkmanager:
error: networkmanager-1.0.4-r0.0@corei7_64 conflicts with connman-1.30-r0.0@corei7_64
...
The dependence relationship is:
xfce4-power-manager --> networkmanager
packagegroup-self-hosted --> connman
Quoted 2 lines
So fix packagegroup-self-hosted to not specify a connection manager, crippling the connman and nm recipes with a virtual isn’t the solution.
Ok, i will give a try. thanks for your feedback and suggestion.
Zhenbo
Quoted 43 lines
Quoted 43 lines
Thanks,
ZhenboQuoted 40 lines
Quoted 40 lines
here introduce alias virtual/networkmanager for these two recipes, so setting
PREFERRED_PROVIDERto the proper one can solve the conflicts.this patch is for networkmanager recipe.
Signed-off-by Zhenbo Gao <[email protected]>---
meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb | 1 +
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb | 2 +-2 files changed, 2 insertions(+), 1 deletion(-)meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb +0
-0@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b \"
DEPENDS = "libnl dbus dbus-glib libgudev util-linux libndp libnewt polkit" +PROVIDES = "virtual/networkmanager"
inherit gnomebase gettext systemd bluetooth bash-completion vala gobject-introspection
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb +0
-0@@ -34,7 +34,7 @@ FILES_xfce4-powermanager-plugin = " \"
RDEPENDS_xfce4-powermanager-plugin = "${PN}"
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb +1
-1-RDEPENDS_${PN} = "networkmanager ${@bb.utils.contains('DISTRO_FEATURES','systemd','','consolekit',d)}" +RDEPENDS_${PN} = "virtual/networkmanager ${@bb.utils.contains('DISTRO_FEATURES','systemd','','consolekit',d)}"# xfce4-brightness-plugin was replaced by xfce4-powermanager-plugin RPROVIDES_xfce4-powermanager-plugin += "xfce4-brightness-plugin"Signature · 1 line
1.9.1
Quoted 9 lines · zhenbo
Quoted 5 lines
So fix packagegroup-self-hosted to not specify a connection manager, crippling the connman and nm recipes with a virtual isn’t the solution.
Ok, i will give a try. thanks for your feedback and suggestion.
Zhenbo
Maybe a bit off topic: Isn't it possible to make newworkmanager a packageconfig for xfce4-power-manager?
Andreas