# Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 03 Apr 2007; Chris Gianelloni <wolf31o2@gentoo.org> gen_cmdline.sh,
+ genkernel.8:
+ Added a second patch from John R. Graham <john_r_graham@mindspring.com> from
+ bug #169383.
+
27 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> alpha/modules_load,
ia64/modules_load, x86/modules_load, x86_64/modules_load,
xen0/modules_load, xenU/modules_load:
echo " --no-gensplash Do not use gensplash"
echo " --install Install the kernel after building"
echo " --no-install Do not install the kernel after building"
+ echo " --symlink Manage symlinks in /boot for installed images"
+ echo " --no-symlink Do not manage symlinks"
echo " --no-initrdmodules Don't copy any modules to the initrd"
echo " --no-udev Disable udev support"
echo " --no-devfs Disable devfs support"
CMD_SYMLINK=1
print_info 2 "CMD_SYMLINK: $CMD_SYMLINK"
;;
+ --no-symlink)
+ CMD_SYMLINK=0
+ print_info 2 "CMD_SYMLINK: $CMD_SYMLINK"
+ ;;
--no-kernel-sources)
CMD_NO_KERNEL_SOURCES=1
print_info 2 "CMD_NO_KERNEL_SOURCES: $CMD_NO_KERNEL_SOURCES"
will be automatically mounted if it is
not already mounted before the initrd and kernel image is copied over.
.TP
+\fB\-\-\fR[no\-]\fBsymlink\fR
+Manages, or does not manage, symlinks in
+.I /boot
+like the manual kernel "make install" process does. A
+.I kernel
+(or, depending on options,
+.I kernelz\fR)
+symlink will link to the most recently built kernel image and a
+.I kernel.old
+(or
+.I kernelz.old\fR)
+symlink will link to the second most recently built image, if one exists.
+Similar symlinks (both * and *.old) are managed for
+.I initramfs\fR (or
+.I initrd\fR)
+and
+.I System.map\f.
+The corresponding work products (i.e., the actual kernel and inirtamfs images,
+and System.map) are also managed accordingly. NOTE: Specifying --symlink
+does nothing unless --install is also specified.
+.TP
\fB\-\-no\-initrdmodules\fR
Don't copy any modules to the initrd.
.TP