[Buildroot] [PATCH] package/glibc: drop dependency of utilities on bash

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Dec 5 22:17:29 UTC 2019

On Mon,  2 Dec 2019 21:14:05 -0300
unixmania at gmail.com wrote:

> From: Carlos Santos <unixmania at gmail.com>
> The dependency was added because ldd uses bash-specific syntax to
> localize messages. Add a post-patch hook, instead, to replace the
> occurrences of $"foo" by "foo", simply, so the code becomes POSIX
> sh compliant if bash is not selected.
> Also set the configuration environment accordingly to replace the
> /bin/bash hashbang by /bin/sh.
> Signed-off-by: Carlos Santos <unixmania at gmail.com>

I've applied, however I think it would be nice to have this mechanism
supported upstream. It can probably be easily added using a check in
configure.ac, and the proper autoconf replacement variable when
generating elf/ldd.bash.

Could you have a look into this ?


Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering

More information about the buildroot mailing list