--- genkernel.8 (revision 616) +++ genkernel.8 (working copy) @@ -101,6 +101,27 @@ 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 --- gen_cmdline.sh (revision 616) +++ gen_cmdline.sh (working copy) @@ -36,6 +36,8 @@ 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" @@ -466,6 +468,10 @@ 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"