Openembedded Core Discussions
 help / color / mirror / Atom feed
From: zhenbo <zhenbo.gao@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
	Andreas Oberritter <obi@opendreambox.org>,
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] connman: add alias for connman
Date: Wed, 25 May 2016 17:41:50 +0800	[thread overview]
Message-ID: <5745735E.60001@windriver.com> (raw)
In-Reply-To: <1464163536.9570.92.camel@linuxfoundation.org>



On 2016年05月25日 16:05, Richard Purdie wrote:
> On Wed, 2016-05-25 at 15:11 +0800, Zhenbo Gao wrote:
>> 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.
> We do not use the virtual/* namespace in package dependencies, only in
> the build time DEPENDS/PROVIDES space. This is because there is no way
> to indicate how the package manager should resolve such things amongst
> many other reasons.
Hi Richard & Andreas,

Thanks for replying this mail.

The situation on my side is: if my project include connman and 
networkmanager at the same time, the compile step will fail:
...
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

Anyway, the patch is not suitable, Koen Kooi(koen@dominion.thruhere.net) 
has suggested me to fix packagegroup-self-hosted to not specify a 
connection manager.
When i am trying to fix my issue, i was wondering why self-hosted needs 
connman ? if self-hosted really don't need connman, the way provided by 
koen is the best solution for this issue.

The draft patch looks like:
---
--- a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
@@ -28,8 +28,6 @@ RDEPENDS_packagegroup-self-hosted = "\
      "

  RDEPENDS_packagegroup-self-hosted-host-tools = "\
-    connman \
-    connman-plugin-ethernet \
      dhcp-client \
      e2fsprogs \
      e2fsprogs-e2fsck \

What do you think? is that ok? if so, i will send an official patch for it.

Thanks,
Zhenbo

> Cheers,
>
> Richard
>



  reply	other threads:[~2016-05-25  9:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-25  7:11 [PATCH] connman: add alias for connman Zhenbo Gao
2016-05-25  8:05 ` Andreas Oberritter
2016-05-25  8:05 ` Richard Purdie
2016-05-25  9:41   ` zhenbo [this message]
2016-05-25 10:34     ` Burton, Ross
2016-05-25  8:30 ` Burton, Ross
2016-05-25  9:15   ` zhenbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5745735E.60001@windriver.com \
    --to=zhenbo.gao@windriver.com \
    --cc=obi@opendreambox.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox