On 10/20/23 14:25, Thorsten Kukuk wrote:
There are base containers, which include coreutils and util-linux, and there is our busybox base container, which only includes busybox and the symlinks for the tools. So both exists, depending on your needs.
FWIW: the GNU coreutils package also allows building as a single-binary executable to save disk space. The single 'coreutils' binary is a bit larger of course, but given how often one of the tools is used the kernel will cache it anyway. In OBS, there's the flavor package called 'coreutils-single' which uses shebang wrappers for each utility (using './configure --enable-single-binary'). There'd also be an alternative to use symlinks for each tool to the 'coreutils' single binary (using './configure --enable-single-binary=symlinks'), but there has not been a request to add that flavor in OBS yet. Both alternatives to the standard coreutils package could save quite some space e.g. for containers; for a regular distribution, the difference is probably too small: ~/coreutils/build> du -h */inst/bin 28M regular/inst/bin 5.7M single-shebang/inst/bin 5.3M single-symlinks/inst/bin Have a nice day, Berny