|
|
|
@ -47,8 +47,8 @@ longusage() {
|
|
|
|
|
echo " Kernel settings"
|
|
|
|
|
echo " --kerneldir=<dir> Location of the kernel sources"
|
|
|
|
|
echo " --kernel-config=<file> Kernel configuration file to use for compilation"
|
|
|
|
|
echo " --module-prefix=<dir> Prefix to kernel module destination, modules will"
|
|
|
|
|
echo " be installed in <prefix>/lib/modules"
|
|
|
|
|
echo " --module-prefix=<dir> Prefix to kernel module destination, modules"
|
|
|
|
|
echo " will be installed in <prefix>/lib/modules"
|
|
|
|
|
echo " Low-Level Compile settings"
|
|
|
|
|
echo " --kernel-cc=<compiler> Compiler to use for kernel (e.g. distcc)"
|
|
|
|
|
echo " --kernel-as=<assembler> Assembler to use for kernel"
|
|
|
|
@ -60,7 +60,8 @@ longusage() {
|
|
|
|
|
echo " --utils-ld=<linker> Linker to use for utils"
|
|
|
|
|
echo " --utils-make=<makeprog> GNU Make to use for utils"
|
|
|
|
|
echo " --utils-cross-compile=<cross var> CROSS_COMPILE utils variable"
|
|
|
|
|
echo " --utils-arch=<arch> Force to arch for utils only instead of autodetect."
|
|
|
|
|
echo " --utils-arch=<arch> Force to arch for utils only instead of"
|
|
|
|
|
echo " autodetect."
|
|
|
|
|
echo " --makeopts=<makeopts> Make options such as -j2, etc..."
|
|
|
|
|
echo " --mountboot Mount /boot automatically"
|
|
|
|
|
echo " --no-mountboot Don't mount /boot automatically"
|
|
|
|
@ -70,14 +71,16 @@ longusage() {
|
|
|
|
|
echo " --gensplash-res=<res> Select gensplash resolutions"
|
|
|
|
|
echo " --do-keymap-auto Forces keymap selection at boot"
|
|
|
|
|
echo " --evms2 Include EVMS2 support"
|
|
|
|
|
echo " --> 'emerge evms' in the host operating system first"
|
|
|
|
|
echo " --> 'emerge evms' in the host operating system"
|
|
|
|
|
echo " first"
|
|
|
|
|
echo " --lvm2 Include LVM2 support"
|
|
|
|
|
# echo " --unionfs Include UNIONFS support"
|
|
|
|
|
echo " --dmraid Include DMRAID support"
|
|
|
|
|
echo " --slowusb Enables extra pauses for slow USB CD boots"
|
|
|
|
|
echo " --bootloader=grub Add new kernel to GRUB configuration"
|
|
|
|
|
echo " --linuxrc=<file> Specifies a user created linuxrc"
|
|
|
|
|
echo " --disklabel Include disk label and uuid support in your initrd"
|
|
|
|
|
echo " --disklabel Include disk label and uuid support in your"
|
|
|
|
|
echo " initrd"
|
|
|
|
|
echo " Internals"
|
|
|
|
|
echo " --arch-override=<arch> Force to arch instead of autodetect"
|
|
|
|
|
echo " --cachedir=<dir> Override the default cache location"
|
|
|
|
@ -85,20 +88,24 @@ longusage() {
|
|
|
|
|
echo " --postclear Clear all tmp files and caches after genkernel has run"
|
|
|
|
|
echo " Output Settings"
|
|
|
|
|
echo " --kernname=<...> Tag the kernel and initrd with a name:"
|
|
|
|
|
echo " If not defined the option defaults to 'genkernel'"
|
|
|
|
|
echo " If not defined the option defaults to"
|
|
|
|
|
echo " 'genkernel'"
|
|
|
|
|
echo " --minkernpackage=<tbz2> File to output a .tar.bz2'd kernel and initrd:"
|
|
|
|
|
echo " No modules outside of the initrd will be"
|
|
|
|
|
echo " included..."
|
|
|
|
|
echo " --modulespackage=<tbz2> File to output a .tar.bz2'd modules after the callbacks have run"
|
|
|
|
|
echo " --kerncache=<tbz2> File to output a .tar.bz2'd kernel,"
|
|
|
|
|
echo " contents of /lib/modules/ and the kernel config"
|
|
|
|
|
echo " NOTE: This is created before the callbacks are run!"
|
|
|
|
|
echo " --no-kernel-sources This option is only valid if kerncache is defined"
|
|
|
|
|
echo " If there is a valid kerncache no checks will be made"
|
|
|
|
|
echo " against a kernel source tree"
|
|
|
|
|
echo " No modules outside of the initrd will be"
|
|
|
|
|
echo " included..."
|
|
|
|
|
echo " --modulespackage=<tbz2> File to output a .tar.bz2'd modules after the"
|
|
|
|
|
echo " callbacks have run"
|
|
|
|
|
echo " --kerncache=<tbz2> File to output a .tar.bz2'd kernel contents"
|
|
|
|
|
echo " of /lib/modules/ and the kernel config"
|
|
|
|
|
echo " NOTE: This is created before the callbacks"
|
|
|
|
|
echo " are run!"
|
|
|
|
|
echo " --no-kernel-sources This option is only valid if kerncache is"
|
|
|
|
|
echo " defined. If there is a valid kerncache no checks"
|
|
|
|
|
echo " will be made against a kernel source tree"
|
|
|
|
|
echo " --initramfs-overlay=<dir>"
|
|
|
|
|
echo " Directory structure to include in the initramfs,"
|
|
|
|
|
echo " only available on 2.6 kernels that don't use bootsplash"
|
|
|
|
|
echo " only available on 2.6 kernels that do not use"
|
|
|
|
|
echo " bootsplash"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
usage() {
|
|
|
|
|