This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [crosstool-ng] Small question and mini-patch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]