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
agaffney f29142639e
Unpack unionfs-fuse with -j
16 years ago
arch Enabling CONFIG_WGET and CONFIG_FEATURE_TAR_BZIP2 for initial support of gentoo bug 211976 16 years ago
defaults Add back (modified) unionfs code in linuxrc 16 years ago
modules Added the modules directory, which will be used to store the built-in modules and also for external entities to add their own modules and hooks. 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 README to busybox patches dir 17 years ago
AUTHORS Adding Andrew and Robin to AUTHORS. 17 years ago
ChangeLog Unpack unionfs-fuse with -j 16 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 Removed a large chunk of 2.4 kernel support. This will still require some fairly extensive cleaning to completely remove, but I'd say that without a shadow of a doubt, genkernel will not function on 2.4 kernels. 17 years ago
gen_arch.sh Cleanup remaining references to ${ARCH}/ without arch/ prefix 17 years ago
gen_cmdline.sh Add dummy handler for --config in gen_cmdline.sh for bug 237541 17 years ago
gen_compile.sh Unpack unionfs-fuse with -j 16 years ago
gen_configkernel.sh Remove a few more 2.4 kernel support remnants 17 years ago
gen_determineargs.sh Call arch_replace and cache_replace on fuse/unionfs-fuse vars 16 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 Add append_fuse() and append_unionfs_fuse() functions 16 years ago
gen_moddeps.sh Remove a few more 2.4 kernel support remnants 17 years ago
gen_package.sh Removed all references to an initrd and renamed most initr{d,amfs} stuff to simply 'ramdisk' to simplify things for the future. 17 years ago
genkernel Actually call compile_fuse() and compile_unionfs_fuse() 16 years ago
genkernel.8 Fix typo in man page, butt -> but 17 years ago
genkernel.conf Unpack unionfs-fuse with -j 16 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