I thought maybe the problem I'm having is due to running UML with a uclibc 
root on a glibc host system, so I tried to build UML in my chroot 
environment.

It died when it tried to use perl to build.

My uclibc environment hasn't got perl.  The normal linux kernel build doesn't 
use perl.  Neither do busybox, lilo, uClibc, zlib, dropbear, autoconf, 
automake, bin86, binutils, bison, cdrtools, e2fsprogs, flex, gcc, libtool, 
m4, make, nasm, the squashfs or zisofs tools, udev, or any of the other 
packages I build under the thing.

As far as I can tell, the following sed invocation will give more or less what 
the perl does, without a dependency on perl.  (Busybox has sed.)  It may need 
a bit of adapting to make the makefile happy (and adding config.tmp to make 
clean), but the concept seems to work...

sed -e 's/^.*$/"&\\n"/' /linux-2.6.9/.config > config.tmp
sed -e '/CONFIG/{' -e 's/"CONFIG"\;/""/' -e 'r config.tmp' -e 'a ""\;' \
        -e '}' config.c.in

Rob


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to