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 d544d57ce1
Moved architecture folders under the arch subfolder.
17 years ago
arch Moved architecture folders under the arch subfolder. 17 years ago
generic Move setup_keymap call to before LUKS setup 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
patches/busybox/1.7.4 Add patch from ebuild in-tree to fix build issue with signals on hppa 17 years ago
um Rename kernel-config-2.6 to kernel-config, since we no longer support 2.4 kernels. This is genkernel 3.4.10 for release. 17 years ago
AUTHORS Added the AUTHORS file and ChangeLog. This is 3.4.2 19 years ago
ChangeLog Moved architecture folders under the arch subfolder. 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 Initial commit after creating the git repository. 17 years ago
gen_arch.sh Uncomment ppc/ppc64->powerpc code in set_kernel_arch, since it appears to actually be necessary as of 2.6.24-gentoo-r4 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 Get rid of --initramfs option as it doesn't do anything anymore 17 years ago
gen_compile.sh Store pre-oldconfig busybox .config for use in bincache comparison 17 years ago
gen_configkernel.sh Moved architecture folders under the arch subfolder. 17 years ago
gen_determineargs.sh Updated the keymap-handling code so it will be installed and displayed without using --do-auto-keymap with a patch from Florian Schilhabel <fernsehleo@gmx.net> for bug #215822. Also, added a keymap= command line option to allow setting keymap from the bootloader, also from Florian. 17 years ago
gen_funcs.sh Move distfile cache to /var/cache/genkernel/src and add check to make sure all distfiles are present 17 years ago
gen_initramfs.sh Stick CONFIG_INITRAMFS_ROOT_GID in the .config, too 17 years ago
gen_initrd.sh Get rid of the ENABLE_PEGASOS_HACKS hacks 17 years ago
gen_moddeps.sh Add --all-initrd-modules option to copy all kernel modules into initrd/ramfs. This is useful for netboot images 17 years ago
gen_package.sh Copy the original kconfig with a different name than the one used to build 17 years ago
genkernel Rename kernel-config-2.6 to kernel-config, since we no longer support 2.4 kernels. This is genkernel 3.4.10 for release. 17 years ago
genkernel.8 Removing DEVFS support from genkernel since we don't support 2.4 kernels anymore. This is 3.4.10_pre2. 17 years ago
genkernel.conf Moved architecture folders under the arch subfolder. 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