On Tue, 2020-06-02 at 15:27 -0400, Denys Dmytriyenko wrote: > On Tue, Jun 02, 2020 at 09:09:25PM +0200, Gregor Zatko wrote: > > In some cases there is a need for update-alternatives script which gets > > built > > within opkg-utils recipe into a standalone package. However, this causes to > > many unnecessary dependencies, including Python, bc, OpenSSL etc. to be > > built. > > > > In this commit a standalone lightweight recipe for update-alternatives that > > shouldn't be dependent on nothing other than bash. > > (R)Depending on bash doesn't make it lightweight anymore. This means you > cannot do tiny bash-less images with alternatives?
Well, if I understand everyting correct then yes, it's not possible. However, I've mostly been a user of Yocto so please check my reasoning: - first, I made a comment here https://bugzilla.yoctoproject.org/show_bug.cgi?id=8879#c4 - if you take a look at http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/tree/update-alternatives you'll simply see it's a shellscript; if we wanted to have it without bash we'd need a C++ implementation, am I right?
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#139115): https://lists.openembedded.org/g/openembedded-core/message/139115 Mute This Topic: https://lists.openembedded.org/mt/74635039/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-