On Tue, Jun 02, 2020 at 09:45:28PM +0200, Gregor Zatko wrote:
> On Tue, 2020-06-02 at 21:43 +0200, Andreas Oberritter wrote:
> > Hello Gregor,
> > On Tue,  2 Jun 2020 21:09:25 +0200"Gregor Zatko" <[email protected]>
> > wrote:
> > > In some cases there is a need for update-alternatives script which
> > > gets builtwithin opkg-utils recipe into a standalone package.
> > > However, this causes tomany unnecessary dependencies, including
> > > Python, bc, OpenSSL etc. to be built.
> > > In this commit a standalone lightweight recipe for update-
> > > alternatives thatshouldn't be dependent on nothing other than bash.
> > > https://bugzilla.yoctoproject.org/show_bug.cgi?id=8879
> > > 
> > > Signed-off-by: Gregor Zatko <[email protected]>---
> > > .../conf/distro/include/default-providers.inc |  6 +--
> > > meta/conf/layer.conf                          |  3 +-
> > > .../packagegroups/packagegroup-self-hosted.bb |  1 + .../opkg-
> > > utils/opkg-utils_0.4.2.bb            | 25 +--------- .../update-
> > > alternatives_0.4.2.bb              | 49 +++++++++++++++++++
> > 
> > why did you change the name from update-alternatives-opkg to update-
> > alternatives? I would prefer to keep the suffix in order to be able
> > to distinguish it more easily from other implementations, e.g.
> > dpkg's.
> > Best regards,Andreas
> 
> I have no problem to revert the name back to original. However, I'm not
> sure whether this patch will be accepted because it seems to solve only
> a minimal part of the problem or nothing at all :-)

And what exactly are you trying to solve then?

It seems you are more concerned with build-time dependencies than you are with 
run-time ones. Building opkg-utils is a drop in the bucket (it is quite small) 
and can usually be ignored, as long as it's not installed when you don't need 
it. The resulting update-alternatives-opkg package is a tiny one with no extra 
RDEPENDS and that's what matters.

If your concern is that it builds opkg-utils and its dependencies even though 
you may be using rpm, then it is also true in the other direction - rpm gets 
built when IPK/opkg is the default package manager...

-- 
Denys
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139121): 
https://lists.openembedded.org/g/openembedded-core/message/139121
Mute This Topic: https://lists.openembedded.org/mt/74635039/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to