List Archive: gentoo-dev
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
While wanting to build a bunch of kernels to test out in a mostly
automated fashion, I hacked up some improvements to genkernel for the
I've put up the modified version here.
A diff against the current genkernel installed by the ebuild is almost
the size of the existing program, so I decided posting just the modified
program was probably more effective.
- Help page!
- Use getopt for option handling (all options now have long and short
- Specify which kernel version you want to build
- Specify where to find the kernel sources to build (for those of us
that build on ramdisks ;-)
- options to call packaging and bootsplash stuff (the base functionality
was there before, but hidden).
- Fixed packaging code some to work better.
- "--skip-mrproper" to skip mrproper when you only want to make a few
tweaks to the kernel and not rebuild all of it.
I have my custom modified kernel source for linux-2.4.22-ac4 in
EXTRAVERSION in the makefile is -ac4+robbat2
To build it:
genkernel -d /tmp/ramdisk/linux.custom --kernel-version 2.4.22-ac4+robbat2
(I already have a customized config in /etc/kernels/config-2.4.22-ac4+robbat2)
now I forgot something and it doesn't build right
genkernel --kernel-directory /tmp/ramdisk/linux.custom -k 2.4.22-ac4+robbat2 --config
now to continue building:
genkernel -d /tmp/ramdisk/linux.custom -k 2.4.22-ac4+robbat2 -s
I haven't tested the bootsplash functionality, as some of that code
didn't make any sense. Appending to a raw initrd image and then not
Hopefully somebody will find these changes useful in the meantime.
Robin Hugh Johnson
E-Mail : robbat2@...
Home Page : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ# : 30269588 or 41961639
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85