All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] networkmanager: add alias for networkmanager
@ 2016-05-25  7:01 Zhenbo Gao
  2016-05-25  8:11 ` Koen Kooi
  0 siblings, 1 reply; 6+ messages in thread
From: Zhenbo Gao @ 2016-05-25  7:01 UTC (permalink / raw)
  To: martin.jansa, koen; +Cc: openembedded-devel

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.

Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
---
 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(-)

diff --git a/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb
index 831ddf0..efd4d08 100644
--- a/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb
+++ b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb
@@ -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
 
diff --git a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb
index 2070db2..59e1d40 100644
--- a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb
+++ b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb
@@ -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"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [meta-oe][PATCH] networkmanager: add alias for networkmanager
  2016-05-25  7:01 [meta-oe][PATCH] networkmanager: add alias for networkmanager Zhenbo Gao
@ 2016-05-25  8:11 ` Koen Kooi
  2016-05-25  8:40   ` zhenbo
  0 siblings, 1 reply; 6+ messages in thread
From: Koen Kooi @ 2016-05-25  8:11 UTC (permalink / raw)
  To: Zhenbo Gao; +Cc: openembedded-devel


> Op 25 mei 2016, om 09:01 heeft Zhenbo Gao <zhenbo.gao@windriver.com> 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

> 
> 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.
> 
> Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
> ---
> 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(-)
> 
> diff --git a/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb
> index 831ddf0..efd4d08 100644
> --- a/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb
> +++ b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb
> @@ -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
> 
> diff --git a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb
> index 2070db2..59e1d40 100644
> --- a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb
> +++ b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb
> @@ -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"
> -- 
> 1.9.1
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-oe][PATCH] networkmanager: add alias for networkmanager
  2016-05-25  8:11 ` Koen Kooi
@ 2016-05-25  8:40   ` zhenbo
  2016-05-25  8:43     ` Koen Kooi
  0 siblings, 1 reply; 6+ messages in thread
From: zhenbo @ 2016-05-25  8:40 UTC (permalink / raw)
  To: Koen Kooi; +Cc: openembedded-devel



On 2016年05月25日 16:11, Koen Kooi wrote:
>> Op 25 mei 2016, om 09:01 heeft Zhenbo Gao <zhenbo.gao@windriver.com> 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

>> 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.
>>
>> Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
>> ---
>> 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(-)
>>
>> diff --git a/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb
>> index 831ddf0..efd4d08 100644
>> --- a/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb
>> +++ b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb
>> @@ -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
>>
>> diff --git a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb
>> index 2070db2..59e1d40 100644
>> --- a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb
>> +++ b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb
>> @@ -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"
>> -- 
>> 1.9.1
>>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-oe][PATCH] networkmanager: add alias for networkmanager
  2016-05-25  8:40   ` zhenbo
@ 2016-05-25  8:43     ` Koen Kooi
  2016-05-25  9:01       ` zhenbo
  0 siblings, 1 reply; 6+ messages in thread
From: Koen Kooi @ 2016-05-25  8:43 UTC (permalink / raw)
  To: zhenbo; +Cc: openembedded-devel


> Op 25 mei 2016, om 10:40 heeft zhenbo <zhenbo.gao@windriver.com> het volgende geschreven:
> 
> 
> 
> On 2016年05月25日 16:11, Koen Kooi wrote:
>>> Op 25 mei 2016, om 09:01 heeft Zhenbo Gao <zhenbo.gao@windriver.com> 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

So fix packagegroup-self-hosted to not specify a connection manager, crippling the connman and nm recipes with a virtual isn’t the solution.


> 
> Thanks,
> Zhenbo
> 
>>> 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.
>>> 
>>> Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
>>> ---
>>> 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(-)
>>> 
>>> diff --git a/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb
>>> index 831ddf0..efd4d08 100644
>>> --- a/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb
>>> +++ b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb
>>> @@ -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
>>> 
>>> diff --git a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb
>>> index 2070db2..59e1d40 100644
>>> --- a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb
>>> +++ b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb
>>> @@ -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"
>>> -- 
>>> 1.9.1
>>> 
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-oe][PATCH] networkmanager: add alias for networkmanager
  2016-05-25  8:43     ` Koen Kooi
@ 2016-05-25  9:01       ` zhenbo
  2016-05-25 11:37         ` Andreas Müller
  0 siblings, 1 reply; 6+ messages in thread
From: zhenbo @ 2016-05-25  9:01 UTC (permalink / raw)
  To: Koen Kooi; +Cc: openembedded-devel



On 2016年05月25日 16:43, Koen Kooi wrote:
>> Op 25 mei 2016, om 10:40 heeft zhenbo <zhenbo.gao@windriver.com> het volgende geschreven:
>>
>>
>>
>> On 2016年05月25日 16:11, Koen Kooi wrote:
>>>> Op 25 mei 2016, om 09:01 heeft Zhenbo Gao <zhenbo.gao@windriver.com> 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
> 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
>> Thanks,
>> Zhenbo
>>
>>>> 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.
>>>>
>>>> Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
>>>> ---
>>>> 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(-)
>>>>
>>>> diff --git a/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb
>>>> index 831ddf0..efd4d08 100644
>>>> --- a/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb
>>>> +++ b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb
>>>> @@ -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
>>>>
>>>> diff --git a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb
>>>> index 2070db2..59e1d40 100644
>>>> --- a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb
>>>> +++ b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.4.4.bb
>>>> @@ -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"
>>>> -- 
>>>> 1.9.1
>>>>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-oe][PATCH] networkmanager: add alias for networkmanager
  2016-05-25  9:01       ` zhenbo
@ 2016-05-25 11:37         ` Andreas Müller
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Müller @ 2016-05-25 11:37 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org; +Cc: Koen Kooi

On Wed, May 25, 2016 at 11:01 AM, zhenbo <zhenbo.gao@windriver.com> wrote:
>
>
>> 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-05-25 11:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-25  7:01 [meta-oe][PATCH] networkmanager: add alias for networkmanager Zhenbo Gao
2016-05-25  8:11 ` Koen Kooi
2016-05-25  8:40   ` zhenbo
2016-05-25  8:43     ` Koen Kooi
2016-05-25  9:01       ` zhenbo
2016-05-25 11:37         ` Andreas Müller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.