Re: [OE-core] [PATCH] findutils: split into packages

2024-06-17 Thread Alexander Kanavin
On Mon, 17 Jun 2024 at 14:29, Rasmus Villemoes wrote: > I really don't see how this is any different from any of the dozens of > the existing recipes that show up if you do "git grep 'FILES.*bindir'". > iproute2, e2fsprogs, psmisc, openssh, mtd-utils and lots of others > package binaries in

Re: [OE-core] [PATCH] findutils: split into packages

2024-06-17 Thread Rasmus Villemoes via lists.openembedded.org
On 17/06/2024 13.43, Alexander Kanavin wrote: > This then needs to happen for all of the core system executables, No, that's not at all true, and does not follow logically. > not just these three ones you happen to be using. [I happen to need just one, that's the point.] > Packaging should >

Re: [OE-core] [PATCH] findutils: split into packages

2024-06-17 Thread Alexander Kanavin
This then needs to happen for all of the core system executables, and not just these three ones you happen to be using. Packaging should follow a policy and not be an inconsistent mishmash. But having a policy that splits every executable into its own package would be a maintenance nightmare. I’d

Re: [OE-core] [PATCH] findutils: split into packages

2024-06-17 Thread Rasmus Villemoes via lists.openembedded.org
On 17/06/2024 12.22, Ross Burton wrote: > On 17 Jun 2024, at 10:59, Rasmus Villemoes via lists.openembedded.org > wrote: >> >> From: Rasmus Villemoes >> >> It can be useful to have find and/or xargs by themselves without >> pulling in locate and its associated binaries updatedb and frcode. In

Re: [OE-core] [PATCH] findutils: split into packages

2024-06-17 Thread Ross Burton
On 17 Jun 2024, at 10:59, Rasmus Villemoes via lists.openembedded.org wrote: > > From: Rasmus Villemoes > > It can be useful to have find and/or xargs by themselves without > pulling in locate and its associated binaries updatedb and frcode. In > my case, I just need xargs in an initramfs,

Re: [OE-core] [PATCH] findutils: split into packages

2024-06-17 Thread Rasmus Villemoes via lists.openembedded.org
On 17/06/2024 11.59, Rasmus Villemoes wrote: > > For backwards compatibility, make ${PN} pull in all the new packages. > [...] > > +RDEPENDS:${PN} += "${PN}-find ${PN}-xargs ${PN}-locate" Sorry about not testing properly before sending. For this to work this also needs ALLOW_EMPTY:${PN} =

[OE-core] [PATCH] findutils: split into packages

2024-06-17 Thread Rasmus Villemoes via lists.openembedded.org
From: Rasmus Villemoes It can be useful to have find and/or xargs by themselves without pulling in locate and its associated binaries updatedb and frcode. In my case, I just need xargs in an initramfs, which is a 42K binary; the other binaries add over 300K of dead weight. So split the recipe