Added a second patch from John R. Graham <john_r_graham@mindspring.com> from bug #169383.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@501 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 18 years ago
parent fffb7ff9f9
commit 63a3dab6ca

@ -2,6 +2,11 @@
# Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2 # Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $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, 27 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> alpha/modules_load,
ia64/modules_load, x86/modules_load, x86_64/modules_load, ia64/modules_load, x86/modules_load, x86_64/modules_load,
xen0/modules_load, xenU/modules_load: xen0/modules_load, xenU/modules_load:

@ -36,6 +36,8 @@ longusage() {
echo " --no-gensplash Do not use gensplash" echo " --no-gensplash Do not use gensplash"
echo " --install Install the kernel after building" echo " --install Install the kernel after building"
echo " --no-install Do not 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-initrdmodules Don't copy any modules to the initrd"
echo " --no-udev Disable udev support" echo " --no-udev Disable udev support"
echo " --no-devfs Disable devfs support" echo " --no-devfs Disable devfs support"
@ -470,6 +472,10 @@ parse_cmdline() {
CMD_SYMLINK=1 CMD_SYMLINK=1
print_info 2 "CMD_SYMLINK: $CMD_SYMLINK" print_info 2 "CMD_SYMLINK: $CMD_SYMLINK"
;; ;;
--no-symlink)
CMD_SYMLINK=0
print_info 2 "CMD_SYMLINK: $CMD_SYMLINK"
;;
--no-kernel-sources) --no-kernel-sources)
CMD_NO_KERNEL_SOURCES=1 CMD_NO_KERNEL_SOURCES=1
print_info 2 "CMD_NO_KERNEL_SOURCES: $CMD_NO_KERNEL_SOURCES" print_info 2 "CMD_NO_KERNEL_SOURCES: $CMD_NO_KERNEL_SOURCES"

@ -101,6 +101,27 @@ then
will be automatically mounted if it is will be automatically mounted if it is
not already mounted before the initrd and kernel image is copied over. not already mounted before the initrd and kernel image is copied over.
.TP .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 \fB\-\-no\-initrdmodules\fR
Don't copy any modules to the initrd. Don't copy any modules to the initrd.
.TP .TP

Loading…
Cancel
Save