Hi Folks, I've created some fixes for genkernel so it can compile module-init-tools and busybox with uclibc. crossdev is required to create a uclibc toolchain. The main advantage is a smaller initramfs. Usage: genkernel --arch-override=x86uc initrd
Created attachment 118478 [details] gen_initramfs.sh
Created attachment 118480 [details] gen_compile.sh
Created attachment 118481 [details] x86uc/busy-config
Created attachment 118482 [details] x86uc/config.sh
Please attach patches instead of full files.
Created attachment 118563 [details, diff] gen_initramfs.sh.patch
Created attachment 118565 [details, diff] gen_compile.sh.patch
There are a few problems with this. First, your code is hardcoded for x86/i686. Second, uclibc doesn't currently work on all arches that genkernel works on (for example, ld.so for sparc is b0rked last time I checked). Third, the static insmod stuff is gone from genkernel SVN.
The patches as provided are unusable (due to the hard-coding of i686 and part of the code they apply against no longer being in SVN). Your method also requires using a cross-toolchain to compile busybox against uclibc, which is an unacceptable requirement. There is no way any of this can go in.