Summary: | Compile genkernel with uclibc (and save 300 kB in initramfs) | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Dick Marinus <dick> |
Component: | genkernel | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | betelgeuse |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
gen_initramfs.sh
gen_compile.sh x86uc/busy-config x86uc/config.sh gen_initramfs.sh.patch gen_compile.sh.patch |
Description
Dick Marinus
2007-05-07 19:26:09 UTC
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. |