Mailinglist Archive: opensuse-factory (536 mails)

< Previous Next >
Re: [opensuse-factory] Why do we have busybox now?
On 05/03/2018 07:26 PM, Bernhard Voelker wrote:
FWIW: one could also build the 'coreutils' package to have an
all-in-one program which acts the same:

$ ./configure --help
...
--enable-single-binary=shebangs|symlinks

As we had busybox space discussion in the other part of the discussion:

Here's how much space all the GNU coreutils executables would use,
comparing a regular build (1 executable per tool) versus one bigger
'coreutils' executable (with symlinks to it from every tool):

~/coreutils> du -shx build*/inst/bin
32M build-reg/inst/bin
5.1M build-sym/inst/bin

~/coreutils> \ls -log build-sym/inst/bin/* | grep -C3 'bin/coreutils'
lrwxrwxrwx 1 9 May 7 17:55 build-sym/inst/bin/chroot -> coreutils
lrwxrwxrwx 1 9 May 7 17:55 build-sym/inst/bin/cksum -> coreutils
lrwxrwxrwx 1 9 May 7 17:55 build-sym/inst/bin/comm -> coreutils
-rwxr-xr-x 1 5327048 May 7 17:55 build-sym/inst/bin/coreutils
lrwxrwxrwx 1 9 May 7 17:55 build-sym/inst/bin/cp -> coreutils
lrwxrwxrwx 1 9 May 7 17:55 build-sym/inst/bin/csplit -> coreutils
lrwxrwxrwx 1 9 May 7 17:55 build-sym/inst/bin/cut -> coreutils


Have a nice day,
Berny

--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >