Magellan Linux

Annotation of /tags/grubby-8_40_20170706/new-kernel-pkg.8

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2685 - (hide annotations) (download)
Wed Jul 16 10:38:09 2014 UTC (9 years, 9 months ago) by niro
Original Path: trunk/grubby/new-kernel-pkg.8
File size: 2769 byte(s)
Support "devicetree" directive in grub2.
1 niro 1183 .TH NEW-KERNEL-PKG 8 "Wed Apr 14 2010"
2     .SH NAME
3     new-kernel-package \- tool to script kernel installation
4    
5     .SH SYNOPSIS
6 niro 1334 \fBnew-kernel-package\fR [-v] [--mkinitrd] [--rminitrd] [--dracut]
7 niro 2685 [--initrdfile=\fIinitrd-image\fR] [--depmod] [--rmmoddep]
8 niro 1183 [--kernel-args=\fIargs\fR] [--remove-args=\fIargs\fR]
9     [--banner=\fIbanner\fR] [--multiboot=\fImultiboot\fR]
10 niro 1334 [--mbargs=\fImbargs\fR] [--make-default] [--add-dracut-args]
11 niro 2685 [--add-plymouth-initrd] [--host-only] [--devtree=\fIdevicetree.dtb\fR]
12 niro 1183 <--install | --remove | --update | --rpmposttrans> <kernel-version>
13    
14     .SH DESCRIPTION
15     \fBnew-kernel-pkg\fR is a tool used in packaging to automate the installation
16     of a new kernel, including the creation of an initial ram filesystem image,
17     updating of bootloader configuration, and other associated tasks.
18    
19     .SH OPTIONS
20     .TP
21     \fB-v\fR
22     Be verbose.
23    
24     .TP
25     \fB-\-mkinitrd\fR
26     Create a new initial ram filesystem image.
27    
28     .TP
29     \fB-\-rminitrd\fR
30     Remove an initial ram filesystem image.
31    
32     .TP
33 niro 2685 \fB-\-devtree\fR=\fIdevicetree.dtb\fR
34     Use \fIdevicetree.dtb\fR as the device tree file in place of any devicetree
35     directive from the template stanza.
36    
37     .TP
38 niro 1334 \fB-\-dracut\fR
39     When creating a new initial ram filesystem image, use dracut(8) rather
40     than mkinitrd(8). Used in conjunction with -\-mkinitrd .
41    
42     .TP
43 niro 1183 \fB-\-initrdfile\fR=\fIinitrd-image\fR
44     Use the specified file as the initial ram filesystem image.
45    
46     .TP
47     \fB-\-depmod\fR
48     Create modules.dep and related files.
49    
50     .TP
51     \fB-\-rmmoddep\fR
52     Remove modules.dep and related files.
53    
54     .TP
55     \fB-\-kernel-args\fR=\fIargs\fR
56     Use \fIargs\fR as the boot command line for this kernel.
57    
58     .TP
59     \fB-\-remove-args\fR=\fIargs\fR
60     Remove specified kernel arguments for this kernel.
61    
62     .TP
63     \fB-\-banner\fR=\fIbanner\fR
64     Display \fIbanner\fR as the banner text in the bootloader.
65    
66     .TP
67     \fB-\-multiboot\fR=\fImultiboot-image\fR
68     Use \fImultiboot-image\fR as a multiboot image.
69    
70     .TP
71     \fB-\-mbargs\fR=\fImbargs\fR
72     Use \fImbargs\fR as arguments to the multiboot image.
73    
74     .TP
75     \fB-\-make-default\fR
76     Make this kernel the default boot option.
77    
78     .TP
79 niro 1334 \fB-\-add-dracut-args\fR
80     Automatically generate dracut options and add them to the kernel command line.
81    
82     .TP
83     \fB-\-add-plymouth-initrd\fR
84     Automatically add plymouth to the initial ram filesystem image.
85    
86     .TP
87     \fB-\-host-only\fR
88     Make an initial ram filesystem image that is specific to the running system.
89    
90     .TP
91 niro 1183 \fB-\-install\fR \fIkernel-version\fR
92     Install a new kernel.
93    
94     .TP
95     \fB-\-remove\fR \fIkernel-version\fR
96     Remove an installed kernel.
97    
98     .TP
99     \fB-\-update\fR \fIkernel-version\fR
100     Update the specified kernel.
101    
102     .TP
103     \fB-\-rpmposttrans\fR \fIkernel-version\fR
104     Run the rpmposttrans for the specified kernel.
105    
106     .SH "SEE ALSO"
107     .BR grubby(8)
108     .BR installkernel(8)
109    
110     .SH AUTHORS
111     .nf
112     Erik Troan
113     Jeremy Katz
114     Peter Jones
115     .fi