[Buildroot] [PATCH] getent: look for glibc's getent in more places

Peter Korsgaard jacmet at uclibc.org
Thu Oct 16 09:05:12 UTC 2014


>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be> writes:

 > External toolchains don't always install the executable in /usr/bin -
 > God knows why. So check in a few more places.

 > We can use make's $(wildcard ...) here, because the variable only gets
 > expanded when the install step is executed, and by that time the
 > STAGING_DIR has already been installed.

 > Probably fixes most getent autobuilder errors, at least if fixes
 > http://autobuild.buildroot.net/results/615b9d17f713b4a53192efb00188560a76b9efa3/

 > Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
 > ---
 > Someone should check the Linaro, Arago, Xilinx, and crosstool-NG
 > toolchains... Or we just wait for the autobuilders :-)

Yeah, lets see what it gives.

Committed, thanks. If we end up with external glibc toolchains that
really don't have a getent binary we might consider extending the
wildcard logic to fall back to our uclibc emulation - But lets wait and
see.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list