From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/glibc: drop dependency of utilities on bash
Date: Thu, 5 Dec 2019 23:17:29 +0100 [thread overview]
Message-ID: <20191205231729.2c16445c@windsurf> (raw)
In-Reply-To: <20191203001405.12984-1-unixmania@gmail.com>
On Mon, 2 Dec 2019 21:14:05 -0300
unixmania at gmail.com wrote:
> From: Carlos Santos <unixmania@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@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 ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-12-05 22:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-03 0:14 [Buildroot] [PATCH] package/glibc: drop dependency of utilities on bash unixmania at gmail.com
2019-12-05 22:17 ` Thomas Petazzoni [this message]
2019-12-09 1:38 ` Carlos Santos
2019-12-09 7:53 ` Thomas Petazzoni
2019-12-09 11:41 ` Carlos Santos
2019-12-09 12:41 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191205231729.2c16445c@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox