coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is --enable-single-binary=symlinks a problem for a distribution?


From: Pádraig Brady
Subject: Re: Is --enable-single-binary=symlinks a problem for a distribution?
Date: Thu, 27 Aug 2020 12:31:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Thunderbird/80.0

On 27/08/2020 09:18, Bernhard Voelker wrote:
On 2020-08-27 10:11, Kamil Dudka wrote:
On Thursday, August 27, 2020 1:53:56 AM CEST Pádraig Brady wrote:
For Fedora I created a coreutils-single package variant
(from the same source rpm), that one could install
in places where space was a consideration
(like embedded or container images etc.).
Since space is the main consideration, I also configured
--without-openssl --without-gmp for that package variant.

cheers,
Pádraig

Worth to say that we do not use the `=symlinks` argument in Fedora,
so it defaults to `--enable-single-binary=shebangs`.

Using symlinks should be okay, and maybe even slightly faster,
because the system doesn't have to read and evaluate the shebang.

AFAIR the shebang variant is for file system types which do not fully
support symlinks, right?

It was also to support multiple levels of symlinks.
For example to stub out commands like: ln -nsf false /bin/install
If using symlinks 'install' would remain in argv[0] and thus be invoked.

cheers,
Pádraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]