[crosstool-ng] Small question and mini-patch

Michael Abbott michael@araneidae.co.uk
Thu Oct 2 18:56:00 GMT 2008


On Thu, 2 Oct 2008, Yann E. MORIN wrote:
> I was thinking of an additional command line option to populate that
> will make it accept a list of forced libraries, eg.:
>   ${CT_TARGET}-populate -s dir1 -d dir2 --libs=libnss_{compat,files,dns}-\*.so
> Would that help?
Sounds like an interesting thought.

> Or populate could be smart enough to look at an existing /etc/nsswitch.conf
> file, and extract needed nss libraries. Only glibc-based (and eglibc-based)
> systems should have /etc/nsswitch.conf.
> Of course, it would be the responsibility of the rootfs builder to setup a
> proper /etc/nsswitch.conf.

Well now, things become a bit more interesting ... and not really 
crosstool territory.  It's rather odd that busybox eschews the rather 
tricky business of actually putting together a working system, after 
providing (nearly) all the wherewithal.  Arguably populate doesn't belong 
in crosstool either, as it's really part of the rootfs builder.

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list