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
Tim Yamin 3bbf4f7cb8
Should check for /sbin/splash_geninitramfs instead of /usr/sbin/...
19 years ago
alpha Added lpfc and scsi_transport_fc for Emulex fibre-channel controllers. 19 years ago
generic This change makes it so we only try to mount 'auto' when cdroot is specified. This should fix all of our mounting issues, as well as allow for not only USB keys to use these kernels with a LiveCD kernel/config, but allow it to boot from any media which the kernel has support. 19 years ago
ia64 Update config, fix #141949. 19 years ago
mips Remove getdvhoff hack in gen_initramfs.sh for mips livecds (it's a busybox applet now), tweak the ip32r5k config, add wget to the mips netboot busybox config. Also import the remaining 2006.1 mips-sources configs and remove the old 2006.0 ones. 19 years ago
netboot Remove getdvhoff hack in gen_initramfs.sh for mips livecds (it's a busybox applet now), tweak the ip32r5k config, add wget to the mips netboot busybox config. Also import the remaining 2006.1 mips-sources configs and remove the old 2006.0 ones. 19 years ago
parisc Added CONFIG_ASH_READ_TIMEOUT=y so we have a timeout value on read, used for keymap selection. 19 years ago
parisc64 Added CONFIG_ASH_READ_TIMEOUT=y so we have a timeout value on read, used for keymap selection. 19 years ago
pkg Bump busybox to 1.1.3 courtesy of `Kumba. 19 years ago
ppc Fix NFS mount. 19 years ago
ppc64 Added CONFIG_ASH_READ_TIMEOUT=y so we have a timeout value on read, used for keymap selection. 19 years ago
sparc Added CONFIG_ASH_READ_TIMEOUT=y so we have a timeout value on read, used for keymap selection. 19 years ago
sparc64 Added CONFIG_ASH_READ_TIMEOUT=y so we have a timeout value on read, used for keymap selection. 19 years ago
um Added megaraid drivers for bug #139888. 19 years ago
x86 Added lpfc and scsi_transport_fc for Emulex fibre-channel controllers. 19 years ago
x86_64 Added lpfc and scsi_transport_fc for Emulex fibre-channel controllers. 19 years ago
xen0 Added megaraid drivers for bug #139888. 19 years ago
xenU Added megaraid drivers for bug #139888. 19 years ago
README >> 3.1.0b. 21 years ago
TODO Version bump. Closes bugs #34948, #37371, #41129, #41166, #42725, #42815, 21 years ago
gen_arch.sh Added sparc patches for udev/klibc. 19 years ago
gen_bootloader.sh Commit patches #91453, #91481 from bug #139866. 19 years ago
gen_bootloader_grub.awk Fix #100637. 19 years ago
gen_cmdline.sh Commit fix for bug #141153 from Pylon; 3.4.0_pre4. 19 years ago
gen_compile.sh Add in the kernel version compatibility table from http://www.am-utils.org/project-unionfs.html and ensure that genkernel dies if the unionfs module fails to build. Until now, it would fail and the build would continue without it. 19 years ago
gen_configkernel.sh Fix #88080. 20 years ago
gen_determineargs.sh Commit patch for bug #139866 by Martin Parm. 19 years ago
gen_funcs.sh Commit patches #91453, #91481 from bug #139866. 19 years ago
gen_initramfs.sh Should check for /sbin/splash_geninitramfs instead of /usr/sbin/... 19 years ago
gen_initrd.sh The initrd code was still looking for udev, even though we aren't building it anymore. This should fix bug #145802. 19 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 Commit patches #91453, #91481 from bug #139866. 19 years ago
genkernel Should check for /sbin/splash_geninitramfs instead of /usr/sbin/... 19 years ago
genkernel.8 Added --static to man page for bug #135703. 19 years ago
genkernel.conf Add in the kernel version compatibility table from http://www.am-utils.org/project-unionfs.html and ensure that genkernel dies if the unionfs module fails to build. Until now, it would fail and the build would continue without it. 19 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.
- If you want Bootsplash, you MUST have VESAFB enabled for 2.6,
other framebuffers won't work. You MUST also enable
"video mode selection support" and "Framebuffer Console support"
- From gentoo-dev-sources-2.6.8 and above, bootsplash has been replaced
with gensplash. Gensplash has the same kernel configuration requirements
as bootsplash, but works properly with any framebuffer device.
- To build a kernel with Genkernel you must have
"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 bootsplash 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