All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexander Kanavin" <alex.kanavin@gmail.com>
To: Adrian Freihofer <adrian.freihofer@siemens.com>
Cc: "schnitzeltony@gmail.com" <schnitzeltony@gmail.com>,
	 "openembedded-devel@lists.openembedded.org"
	<openembedded-devel@lists.openembedded.org>
Subject: Re: [oe][meta-networking][PATCH] networkmanager: add missing readline depends
Date: Tue, 26 Jan 2021 21:27:08 +0100	[thread overview]
Message-ID: <CANNYZj8ttcRT4yF2u6GiQ18v_UPbb6aJFmtVwZ+fTV2LthnwRQ@mail.gmail.com> (raw)
In-Reply-To: <5ef6c37e826f06c47f93bce8eb4ad338e7828bbe.camel@siemens.com>

[-- Attachment #1: Type: text/plain, Size: 2204 bytes --]

As you said, nmcli is already placed into its own package, so we (mbition.io)
simply do not install the package onto the product images.

Last time I looked it was not possible to enable/disable nmcli at buildtime
without extensive patching.

Alex

On Tue, 26 Jan 2021 at 21:17, Adrian Freihofer <adrian.freihofer@siemens.com>
wrote:

> Hi Andreas
>
> On Mon, 2021-01-25 at 18:15 +0100, Andreas Müller wrote:
> > On Mon, Jan 25, 2021 at 6:09 PM Andreas Müller <schnitzeltony@gmail.com>
> wrote:
> > > On Mon, Jan 25, 2021 at 5:31 PM Adrian Freihofer
> > > <adrian.freihofer@gmail.com> wrote:
> > > > Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
> > > > ---
> > > >  .../recipes-connectivity/networkmanager/networkmanager_1.28.0.bb |
> 1 +
> > > >  1 file changed, 1 insertion(+)
> > > >
> > > > diff --git a/meta-networking/recipes-connectivity/networkmanager/
> networkmanager_1.28.0.bb
> b/meta-networking/recipes-connectivity/networkmanager/
> networkmanager_1.28.0.bb
> > > > index 1053bdd42..7338290e1 100644
> > > > --- a/meta-networking/recipes-connectivity/networkmanager/
> networkmanager_1.28.0.bb
> > > > +++ b/meta-networking/recipes-connectivity/networkmanager/
> networkmanager_1.28.0.bb
> > > > @@ -17,6 +17,7 @@ DEPENDS = " \
> > > >      libnewt \
> > > >      jansson \
> > > >      curl \
> > > > +    readline \
> > > >  "
> > > >
> > Hi Adrian,
> >
> > pressed 'send' accidentally...
> >
> > readline is an optional dependency for nmcli. Since readline is GPLv3,
> > not everybody is happy having it in unconditionally, I suggest you
> > introduce a PACKAGECONFIG for that - default add or not is up to you
> > (or what do others think?)
> >
> > Cheers
> >
> > Andreas
>
> Hi Andreas
>
> Thank you for the suggestion. I will send a v2 patch with a
> PACKAGECONFIG[nmcli]. But since nmcli was split into a separate
> package, its possible to compile nmcli but not install it into a
> released firmware.
> However I wonder a little bit how others are compiling NetworkManager.
> At least in my configuration there is a build error without readline in
> DEPENDS.
>
> Regards,
> Adrian
>
>
> 
>
>

[-- Attachment #2: Type: text/html, Size: 3498 bytes --]

      reply	other threads:[~2021-01-26 20:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-25 16:31 [oe][meta-networking][PATCH] networkmanager: add missing readline depends Adrian Freihofer
2021-01-25 17:09 ` Andreas Müller
2021-01-25 17:15   ` Andreas Müller
2021-01-26 20:17     ` Adrian Freihofer
2021-01-26 20:27       ` Alexander Kanavin [this message]

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=CANNYZj8ttcRT4yF2u6GiQ18v_UPbb6aJFmtVwZ+fTV2LthnwRQ@mail.gmail.com \
    --to=alex.kanavin@gmail.com \
    --cc=adrian.freihofer@siemens.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=schnitzeltony@gmail.com \
    /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 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.