package/glibc: drop dependency of utilities on bash
authorCarlos Santos <unixmania@gmail.com>
Tue, 3 Dec 2019 00:14:05 +0000 (21:14 -0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 5 Dec 2019 22:15:45 +0000 (23:15 +0100)
commit862cda57e5e2110a432e9c7592d2f258913223fb
tree6def2e2f56edaffba842f990b1e889c49bff105b
parent8583b2c6d878ea890081d354170f90c564d7d846
package/glibc: drop dependency of utilities on bash

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@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/glibc/Config.in
package/glibc/glibc.mk