public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Sinan Kaya" <okaya@kernel.org>
To: Phil Blundell <pb@pbcl.net>
Cc: openembedded-core@lists.openembedded.org,
	Richard Purdie <richard.purdie@linuxfoundation.org>
Subject: Re: [OE-core] [meta-oe][PATCH v4 1/3] introduce lib_subpackage
Date: Sat, 5 Dec 2020 19:54:47 -0500	[thread overview]
Message-ID: <df4bd423-75d3-176f-a0e0-8f95f789107b@kernel.org> (raw)
In-Reply-To: <20201205222337.GW30831@pbcl.net>

On 12/5/2020 5:23 PM, Phil Blundell wrote:
>> I'm open to giving it a better name. Richard pointed me to a file
>> beginning with lib_foo.class for where this functionality could be
>> hosted before.
> I suppose the interesting question here, then, is "what is this class
> actually for?"  The description above says that it "allows us to easily
> split a recipe into subpackages" but doesn't say very much about what
> the consequences of including the class actually are or under what
> circumstances that's useful.
> 
> Reading between the lines the idea seems to be that this class is
> appropriate for recipes that build a collection of utilities each of
> which is essentially independent and is useful in its own right
> without any of the others.  Is that right?

Yes, this is correct.

> 
>>>> +    d.appendVar("PACKAGES", " " + " ".join(packages))
>>>> +    d.appendVar("PROVIDES", " " + " ".join(packages))
>>> It seems a bit strange to be putting the same things in PACKAGES and
>>> PROVIDES.  Is that actually necessary?
>> I want to be able to include procps-ps without the entire procps
>> package. I was not able to do that without the above two lines.
> What do you mean by "include procps-ps"?  It sounds like you're saying
> you want to be able to introduce procps-ps to DEPENDS, is that right?
> 

I want to be able to include a specific tool out of N number of tools
that a package builds into the image.

> p.


  reply	other threads:[~2020-12-06  0:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-03 23:28 [meta-oe][PATCH v4 1/3] introduce lib_subpackage Sinan Kaya
2020-12-03 23:28 ` [meta-oe][PATCH v4 2/3] net-tools: split into binary packages Sinan Kaya
2020-12-03 23:28 ` [meta-oe][PATCH v4 3/3] procps: split into binary subpackages Sinan Kaya
2020-12-04 11:01 ` [OE-core] [meta-oe][PATCH v4 1/3] introduce lib_subpackage Phil Blundell
2020-12-04 13:30   ` Sinan Kaya
2020-12-05 22:23     ` Phil Blundell
2020-12-06  0:54       ` Sinan Kaya [this message]
     [not found]       ` <164DFA8489EB0A7A.29396@lists.openembedded.org>
2020-12-09 23:47         ` Sinan Kaya

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=df4bd423-75d3-176f-a0e0-8f95f789107b@kernel.org \
    --to=okaya@kernel.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=pb@pbcl.net \
    --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