[Buildroot] [PATCH v1 1/1] coreutils: allow selection of installed programs

Romain Izard romain.izard.pro at gmail.com
Thu Feb 25 10:54:33 UTC 2016


2016-02-24 23:19 GMT+01:00 Yann E. MORIN <yann.morin.1998 at free.fr>:
> On 2016-02-24 22:58 +0100, Peter Korsgaard spake thusly:
>
>> Didn't we just discuss on IRC that shebangs didn't have any
>> advantages over symlinks? If so, I would prefer to keep things simple
>> and only have a choice between symlinks (default) or classical
>> multiple binaries.
>
> Well, shebangs is the current situation, so users may rely on it (for
> whatever ill reason), so we should support that.
>
> However, I won't battle over it, as my preference would go with
> hardlinks instead, but that option is not available. Meh... ;-)

The issue is that the single binary mode is much more space-efficient
than the classical mode. For my subset of 52 executables, it takes 704
KiB for the single-binary mode with shebangs, and 1.9 MiB with separate
programs (after stripping). I get a similar ratio if I compress it.

The classical mode is in fact worse than taking the coreutils package
without filtering, which takes 1.5 MiB.

Best regards,
-- 
Romain Izard


More information about the buildroot mailing list