Added a couple more places where I needed to switch INITRD with RAMDISK.

cleanup-cruft
Chris Gianelloni 17 years ago
parent d5b1e6a985
commit d37ba965e6

@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni
# Distributed under the GPL v2 # 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, 28 Jul 2008; Chris Gianelloni <wolf31o2@wolf31o2.org> TODO,
arch/alpha/modules_load, arch/ia64/modules_load, arch/mips/modules_load, arch/alpha/modules_load, arch/ia64/modules_load, arch/mips/modules_load,
arch/parisc/modules_load, arch/parisc64/modules_load, arch/parisc/modules_load, arch/parisc64/modules_load,

@ -73,7 +73,7 @@ cleanup(){
trap trap_cleanup SIGHUP SIGQUIT SIGINT SIGTERM SIGKILL trap trap_cleanup SIGHUP SIGQUIT SIGINT SIGTERM SIGKILL
BUILD_KERNEL=0 BUILD_KERNEL=0
BUILD_INITRD=0 BUILD_RAMDISK=0
BUILD_MODULES=0 BUILD_MODULES=0
# Parse all command line options... # Parse all command line options...
@ -85,7 +85,7 @@ do
done done
# Check if no action is specified... # 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 then
usage usage
exit 1 exit 1
@ -129,7 +129,7 @@ dump_debugcache
NORMAL=${BOLD} print_info 1 "Linux Kernel ${BOLD}${KV}${NORMAL} for ${BOLD}${ARCH}${NORMAL}..." 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 then
if ! has_loop if ! has_loop
then then
@ -296,7 +296,7 @@ then
print_info 1 "" 1 0 print_info 1 "" 1 0
fi fi
if [ "${BUILD_INITRD}" -eq '1' ] if [ "${BUILD_RAMDISK}" -eq '1' ]
then then
[ "${DISKLABEL}" -eq '1' ] && compile_e2fsprogs [ "${DISKLABEL}" -eq '1' ] && compile_e2fsprogs
@ -332,7 +332,7 @@ then
print_info 1 "Kernel compiled successfully!" print_info 1 "Kernel compiled successfully!"
print_info 1 '' print_info 1 ''
print_info 1 'Required Kernel Parameters:' print_info 1 'Required Kernel Parameters:'
if [ "${BUILD_INITRD}" -eq '0' ] if [ "${BUILD_RAMDISK}" -eq '0' ]
then then
print_info 1 ' root=/dev/$ROOT' print_info 1 ' root=/dev/$ROOT'
print_info 1 ' [ And "vga=0x317 splash=verbose" if you use a framebuffer ]' print_info 1 ' [ And "vga=0x317 splash=verbose" if you use a framebuffer ]'
@ -352,7 +352,7 @@ then
fi fi
fi fi
if [ "${BUILD_INITRD}" -eq '1' ] if [ "${BUILD_RAMDISK}" -eq '1' ]
then then
echo echo
print_info 1 'WARNING... WARNING... WARNING...' print_info 1 'WARNING... WARNING... WARNING...'

@ -245,9 +245,9 @@ against a kernel source tree.
\fB\-\-initramfs\-overlay=\fR<dir> \fB\-\-initramfs\-overlay=\fR<dir>
Directory structure to include in the initramfs, Directory structure to include in the initramfs,
only available on 2.6 kernels only available on 2.6 kernels
.SH INITRD OPTIONS .SH RAMDISK OPTIONS
The following options can be passed as kernel parameters from the 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 .TP
\fBreal_root=\fR<...> \fBreal_root=\fR<...>
Specifies the device node of the root filesystem to mount. Specifies the device node of the root filesystem to mount.

Loading…
Cancel
Save