Genkernel fork to have some custom behavior.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Chris Gianelloni 9980cfc539
Added a small patch from John R. Graham <john_r_graham@mindspring.com> to fix arguments with spaces for bug #200161.
17 years ago
alpha Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616. This is genkernel 3.4.9_pre8 for testing. 17 years ago
generic use 'read' to get a line at a time to account for directories with spaces in the name. this fixes bug 199701 17 years ago
ia64 Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616. This is genkernel 3.4.9_pre8 for testing. 17 years ago
mips Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616. This is genkernel 3.4.9_pre8 for testing. 17 years ago
netboot Remove some unnecessary copyright dates from a few files so we don't keep forgetting to update them when we modify the files. 18 years ago
parisc Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616. This is genkernel 3.4.9_pre8 for testing. 17 years ago
parisc64 Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616. This is genkernel 3.4.9_pre8 for testing. 17 years ago
pkg Added a patch from Alan Hourihane <alanh@fairlite.demon.co.uk> for mdadm support in busybox from bug #172128. This is genkernel 3.4.9_pre4 for testing. 17 years ago
ppc Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616. This is genkernel 3.4.9_pre8 for testing. 17 years ago
ppc64 Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616. This is genkernel 3.4.9_pre8 for testing. 17 years ago
sparc Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616. This is genkernel 3.4.9_pre8 for testing. 17 years ago
sparc64 Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616. This is genkernel 3.4.9_pre8 for testing. 17 years ago
um Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616. This is genkernel 3.4.9_pre8 for testing. 17 years ago
x86 Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616. This is genkernel 3.4.9_pre8 for testing. 17 years ago
x86_64 Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616. This is genkernel 3.4.9_pre8 for testing. 17 years ago
xen0 Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616. This is genkernel 3.4.9_pre8 for testing. 17 years ago
xenU Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616. This is genkernel 3.4.9_pre8 for testing. 17 years ago
AUTHORS Added the AUTHORS file and ChangeLog. This is 3.4.2 19 years ago
ChangeLog Added a small patch from John R. Graham <john_r_graham@mindspring.com> to fix arguments with spaces for bug #200161. 17 years ago
README Removing bootsplash support since it hasn't been in a kernel we've supported for years now, causes confusion amongst users, and really wasn't being used and caused issues with 2.6/initrd creation in some corner cases. 18 years ago
TODO Updated TODO and cleaning up genkernel.conf a bit. 18 years ago
gen_arch.sh revert patch from bug 190327 17 years ago
gen_bootloader.sh Removed the use of GK_BIN variable, since it isn't necessary. 18 years ago
gen_bootloader_grub.awk Fix #100637. 19 years ago
gen_cmdline.sh Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616. This is genkernel 3.4.9_pre8 for testing. 17 years ago
gen_compile.sh Force dmraid to be built with -j1 for bug #188273 17 years ago
gen_configkernel.sh Some more generalcleanup and adding support for using a config file other than /etc/genkernel.conf to add flexibility. 18 years ago
gen_determineargs.sh Added config defaulting for --mdadm for bug #198694. Thanks to John R. Graham <john_r_graham@mindspring.com> for providing the patch. This is 3.4.9_pre9 for testing. 17 years ago
gen_funcs.sh Added a small patch from John R. Graham <john_r_graham@mindspring.com> to fix arguments with spaces for bug #200161. 17 years ago
gen_initramfs.sh look for cryptsetup in /bin and /sbin 17 years ago
gen_initrd.sh look for cryptsetup in /bin and /sbin 17 years ago
gen_moddeps.sh Fix missing moddeps file by adding a test;Do not keep the initrd/initramfs with a kernelz system as it is already bundled together. 19 years ago
gen_package.sh Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616. This is genkernel 3.4.9_pre8 for testing. 17 years ago
genkernel ChangeLog fix/version fix. 17 years ago
genkernel.8 update description for --initramfs-overlay in man page to match --help 18 years ago
genkernel.conf My original sed of LVM2->LVM caught a few too many things. Thanks to Robin Johnson <robbat2@gentoo.org> for pointing them out and providing the fix in bug #198546. 17 years ago

README

DEPENDANCIES:

- GCC and binutils
- GNU Bash

USAGE:
See http://www.gentoo.org/doc/en/genkernel.xml or
issue ``genkernel --help''.

PORTING:
To port to other arches:

# cd /usr/share/genkernel
# cp -Rp x86 ${myarch}
# mkdir /usr/share/genkernel/pkg/${myarch}

Modify what is needed in the /usr/share/genkernel/${myarch}
directory, as well making a generic kernel-config.

IMPORTANT KERNEL NOTES:
- You MUST have /dev/pts turned on.
"Block devices->Loopback device support"
"Block devices->RAM disk support"
- To boot genkernel properly, the kernel config must have
RAM disk support and Initial RAM disk support. You should
also set your "Default RAM disk size to 8192"

BOOTING A KERNEL WITH INITRD:

GRUB:
real_root= needs to point to your root partition
root= needs to point to the ramdisk (should stay at /dev/ram0)
init= needs to point to the linuxrc file to execute on the ramdisk
vga= should be the resolution you want your screen. 0x317 is
1024x768 - 16bpp and you'll get a pretty splash if
configured properly

GRUB EXAMPLE ENTRY:
title=2.6.0 [ Genkernel ]
root (hd0,0)
kernel (hd0,0)/boot/kernel-2.6.0-gentoo root=/dev/ram0 init=/linuxrc real_root=/dev/hda3 vga=0x317
initrd (hd0,0)/boot/initrd-2.6.0-gentoo