Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Adrian Freihofer <adrian.freihofer@gmail.com>
To: Alex Kiernan <alex.kiernan@gmail.com>
Cc: "Jan-Simon Möller" <jsmoeller@linuxfoundation.org>,
	openembedded-core@lists.openembedded.org,
	"Ross Burton" <ross.burton@arm.com>,
	richard.purdie@linuxfoundation.org,
	"Scott Murray" <scott.murray@konsulko.com>
Subject: Re: [OE-core] [PATCH OE-Core 0/5] connman: Update for all PACKAGECONFIG options, clean up legacy
Date: Mon, 07 Apr 2025 18:44:41 +0200	[thread overview]
Message-ID: <38637d0589962b50af4bc0f472d7c8e3a5d68e22.camel@gmail.com> (raw)
In-Reply-To: <352101e120074ee9e08455be1c162f2bc36c4ce7.camel@linuxfoundation.org>

On Thu, 2025-04-03 at 17:52 +0100, Richard Purdie via
lists.openembedded.org wrote:
> On Thu, 2025-04-03 at 12:46 -0400, Scott Murray wrote:
> > On Thu, 3 Apr 2025, Richard Purdie wrote:
> > 
> > > On Thu, 2025-04-03 at 07:42 +0100, Alex Kiernan wrote:
> > > > On Wed, Apr 2, 2025 at 8:33 PM Richard Purdie
> > > > <richard.purdie@linuxfoundation.org> wrote:
> > > > > 
> > > > > On Wed, 2025-04-02 at 16:02 +0000, Alex Kiernan via
> > > > > lists.openembedded.org wrote:
> > > > > > connman has a legacy style, this patch set adds in all the
> > > > > > PACKAGECONFIG
> > > > > > options which the upstream pacakge supports, removes
> > > > > > patches which are no
> > > > > > longer required, explicitly supports operation alongside
> > > > > > systemd-resolved and
> > > > > > reworks the packaging so that PACKAGECONFIG and explicit
> > > > > > package selection for
> > > > > > every VPN is no longer required.
> > > > > > 
> > > > > > Everything up to the final patch should be backward
> > > > > > compatible cleanup of the
> > > > > > existing recipe, with only the final patch reworking the
> > > > > > packaging.
> > > > > > 
> > > > > > Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
> > > > > > ---
> > > > > > Alex Kiernan (5):
> > > > > >       connman: Merge .inc into .bb
> > > > > >       connman: Delete patches for gold and MIPS binutils
> > > > > > fix
> > > > > >       connman: Move ppp from DEPENDS to PACKAGECONFIG
> > > > > >       connman: Add all build options as PACKAGECONFIG
> > > > > >       connman: Rework to avoid splitting into many single
> > > > > > binary packages
> > > > > > 
> > > > > >  meta/recipes-connectivity/connman/connman.inc      | 221 -
> > > > > > --------------------
> > > > > >  ...vice-stop-systemd-resolved-when-we-use-co.patch |  26 -
> > > > > > --
> > > > > >  ...ange-visibility-to-default-for-debug-symb.patch |  31 -
> > > > > > --
> > > > > >  .../connman/connman/no-version-scripts.patch       |  47 -
> > > > > > ----
> > > > > >  meta/recipes-connectivity/connman/connman_1.44.bb  | 154
> > > > > > +++++++++++++-
> > > > > >  5 files changed, 147 insertions(+), 332 deletions(-)
> > > > > 
> > > > > This failed in testing on the first try. I've added:
> > > > > 
> > > > > diff --git a/meta/recipes-core/images/build-appliance-
> > > > > image_15.0.0.bb b/meta/recipes-core/images/build-appliance-
> > > > > image_15.0.0.bb
> > > > > index 03f02d14ae8..c5ddea79005 100644
> > > > > --- a/meta/recipes-core/images/build-appliance-
> > > > > image_15.0.0.bb
> > > > > +++ b/meta/recipes-core/images/build-appliance-
> > > > > image_15.0.0.bb
> > > > > @@ -6,7 +6,7 @@ LICENSE = "MIT"
> > > > >  LIC_FILES_CHKSUM =
> > > > > "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
> > > > > 361b4de20420"
> > > > > 
> > > > >  IMAGE_INSTALL = "packagegroup-core-boot packagegroup-core-
> > > > > ssh-openssh packagegroup-self-hosted \
> > > > > -                 kernel-dev kernel-devsrc connman connman-
> > > > > plugin-ethernet dhcpcd \
> > > > > +                 kernel-dev kernel-devsrc connman dhcpcd \
> > > > >                   tzdata python3-pip perl-misc"
> > > > > 
> > > > >  IMAGE_FEATURES += "x11-base package-management splash"
> > > > 
> > > > Is keeping all those RPROVIDES (plus doubtless more at this
> > > > point)
> > > > actually useful? I can see it in the traditional distribution
> > > > world,
> > > > but for OE-Core it feels mostly redundant to me.
> > > 
> > > Short term, it will help fix people's builds and give some level
> > > of
> > > runtime compatibility. Long term, it would be deadweight we
> > > carry. I'm
> > > therefore torn.
> > > 
> > > I did note that meta-agl ran into a similar issue:
> > > 
> > > https://autobuilder.yoctoproject.org/valkyrie/#/builders/55/builds/1250
> > > 
> > > With the above tweak and the tweaked nftables, the rest of the
> > > build
> > > was ok through.
> > 
> > If you're leaning towards taking it, we can adapt in AGL, though I
> > can't
> > guarantee there won't be a brief instance of AB breakage before I
> > push
> > a change.  Overall, I'm a bit ambivalent about removing the split
> > out
> > packages.  I understand the desire for simplifying it, but I also
> > see
> > some benefits to still mirroring what most other distributions do
> > with
> > networkmanager packaging since there still seems to be some
> > interest in
> > attempting to do binary packagefeeds...
> 
> To be honest, I'm torn, I could be persuaded either way. 
> 
> I copied more people to collect viewpoionts as well as make them
> aware
> of the potential breakage.
> 
> Cheers,
> 
> Richard

I don't use conman, so my opinion is not really relevant here.

But I think that PACKAGECONFIGS are of course the big advantage of
Yocto compared to binary distributions. But one should also not forget
why binary distributions are very successful in many areas: You can
address many different use cases with one distribution without having
to recompile different packages just to put together slightly different
firmware variants. With systemd or NetworkManager, for example, we have
the option of using PACAKGECONFGS as well as splitting it up into small
packages. This is very useful, at least for us, which is why I think
removing package splitting would also be a disadvantage for connman.

Regards,
Adrian

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#214329):
> https://lists.openembedded.org/g/openembedded-core/message/214329
> Mute This Topic: https://lists.openembedded.org/mt/112049312/4454582
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe:
> https://lists.openembedded.org/g/openembedded-core/unsub [
> adrian.freihofer@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



  reply	other threads:[~2025-04-07 16:44 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-02 16:02 [PATCH OE-Core 0/5] connman: Update for all PACKAGECONFIG options, clean up legacy Alex Kiernan
2025-04-02 16:02 ` [PATCH OE-Core 1/5] connman: Merge .inc into .bb Alex Kiernan
2025-04-02 16:02 ` [PATCH OE-Core 2/5] connman: Delete patches for gold and MIPS binutils fix Alex Kiernan
2025-04-02 16:02 ` [PATCH OE-Core 3/5] connman: Move ppp from DEPENDS to PACKAGECONFIG Alex Kiernan
2025-04-02 16:02 ` [PATCH OE-Core 4/5] connman: Add all build options as PACKAGECONFIG Alex Kiernan
2025-04-02 19:41   ` [OE-core] " Richard Purdie
2025-04-02 20:08     ` Alex Kiernan
2025-04-04 12:02       ` Ross Burton
2025-04-04 12:29         ` Alexander Kanavin
2025-04-08  9:38         ` Alex Kiernan
2025-04-02 16:02 ` [PATCH OE-Core 5/5] connman: Rework to avoid splitting into many single binary packages Alex Kiernan
2025-04-02 19:33 ` [OE-core] [PATCH OE-Core 0/5] connman: Update for all PACKAGECONFIG options, clean up legacy Richard Purdie
2025-04-03  6:42   ` Alex Kiernan
2025-04-03  7:36     ` Richard Purdie
2025-04-03 16:46       ` Scott Murray
2025-04-03 16:52         ` Richard Purdie
2025-04-07 16:44           ` Adrian Freihofer [this message]
2025-04-08  9:33             ` Alex Kiernan

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=38637d0589962b50af4bc0f472d7c8e3a5d68e22.camel@gmail.com \
    --to=adrian.freihofer@gmail.com \
    --cc=alex.kiernan@gmail.com \
    --cc=jsmoeller@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    --cc=ross.burton@arm.com \
    --cc=scott.murray@konsulko.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox