Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Andreas Oberritter <obi@opendreambox.org>
To: openembedded-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] connman: add alias for connman
Date: Wed, 25 May 2016 10:05:35 +0200	[thread overview]
Message-ID: <57455CCF.7000104@opendreambox.org> (raw)
In-Reply-To: <1464160265-16527-1-git-send-email-zhenbo.gao@windriver.com>

On 25.05.2016 09:11, 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.
> 
> Signed-off-by: Zhenbo Gao <zhenbo.gao@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 \
       ^
This will create a conflict whenever virtual/networkmanager is not
provided by connman. It's probably safe to remove this line, though,
because the ethernet plugin package is virtual, too (see connman.inc above).

Best regards,
Andreas

>      dhcp-client \
>      e2fsprogs \
> 



  reply	other threads:[~2016-05-25  8:05 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 [this message]
2016-05-25  8:05 ` Richard Purdie
2016-05-25  9:41   ` zhenbo
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=57455CCF.7000104@opendreambox.org \
    --to=obi@opendreambox.org \
    --cc=openembedded-core@lists.openembedded.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