Pádraig Brady <[email protected]> writes:

> On 12/11/2025 18:28, Collin Funk wrote:
>> Pádraig Brady <[email protected]> writes:
>> 
>>> * tests/env/env.sh: Always pass --coreutils-prog=true so that the
>>> program to run can be determined with --enable-single-binary=symlinks.
>>> Also actually verify the expected verbose output.
>>> Reported by the Alpine Linux project.
>>> ---
>>>   tests/env/env.sh | 4 +++-
>>>   1 file changed, 3 insertions(+), 1 deletion(-)
>> Unrelated to the change, but does Alpine use the multicall binary by
>> default (as in, after running 'apk add coreutils')?
>> I guess that would make sense if they want to keep container images
>> small. Red Hat has coreutils-single, but I have never used it.
>
> I presume they're running with --enable-single-binary=symlinks by default.
> Right, I've just confirmed that looking at:
> https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/coreutils/APKBUILD

Interesting.

And Red Hat uses --enable-single-binary=shebangs for their container
images at least:

   $ podman run --rm -it redhat/ubi10
   $ cat /bin/true 
   #!/usr/bin/coreutils --coreutils-prog-shebang=true

Collin

Reply via email to