# Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni
# Distributed under the GPL v2
+ 28 Jul 2008; Chris Gianelloni <wolf31o2@wolf31o2.org> genkernel,
+ genkernel.8:
+ Added a couple more places where I needed to switch INITRD with RAMDISK.
+
28 Jul 2008; Chris Gianelloni <wolf31o2@wolf31o2.org> TODO,
arch/alpha/modules_load, arch/ia64/modules_load, arch/mips/modules_load,
arch/parisc/modules_load, arch/parisc64/modules_load,
trap trap_cleanup SIGHUP SIGQUIT SIGINT SIGTERM SIGKILL
BUILD_KERNEL=0
-BUILD_INITRD=0
+BUILD_RAMDISK=0
BUILD_MODULES=0
# Parse all command line options...
done
# Check if no action is specified...
-if [ "${BUILD_KERNEL}" -eq '0' -a "${BUILD_INITRD}" -eq '0' ]
+if [ "${BUILD_KERNEL}" -eq '0' -a "${BUILD_RAMDISK}" -eq '0' ]
then
usage
exit 1
NORMAL=${BOLD} print_info 1 "Linux Kernel ${BOLD}${KV}${NORMAL} for ${BOLD}${ARCH}${NORMAL}..."
-if [ "${BUILD_INITRD}" -ne '0' ]
+if [ "${BUILD_RAMDISK}" -ne '0' ]
then
if ! has_loop
then
print_info 1 "" 1 0
fi
-if [ "${BUILD_INITRD}" -eq '1' ]
+if [ "${BUILD_RAMDISK}" -eq '1' ]
then
[ "${DISKLABEL}" -eq '1' ] && compile_e2fsprogs
print_info 1 "Kernel compiled successfully!"
print_info 1 ''
print_info 1 'Required Kernel Parameters:'
- if [ "${BUILD_INITRD}" -eq '0' ]
+ if [ "${BUILD_RAMDISK}" -eq '0' ]
then
print_info 1 ' root=/dev/$ROOT'
print_info 1 ' [ And "vga=0x317 splash=verbose" if you use a framebuffer ]'
fi
fi
-if [ "${BUILD_INITRD}" -eq '1' ]
+if [ "${BUILD_RAMDISK}" -eq '1' ]
then
echo
print_info 1 'WARNING... WARNING... WARNING...'
\fB\-\-initramfs\-overlay=\fR<dir>
Directory structure to include in the initramfs,
only available on 2.6 kernels
-.SH INITRD OPTIONS
+.SH RAMDISK OPTIONS
The following options can be passed as kernel parameters from the
-bootloader, which the initrd scripts would recognize.
+bootloader, which the ramdisk scripts would recognize.
.TP
\fBreal_root=\fR<...>
Specifies the device node of the root filesystem to mount.