Magellan Linux

Contents of /tags/grubby-8_40_20170627/new-kernel-pkg.8

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3032 - (show annotations) (download)
Tue Jun 27 14:52:25 2017 UTC (6 years, 9 months ago) by niro
File size: 2769 byte(s)
tagged 'grubby-8_40_20170627'
1 .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 \fBnew-kernel-package\fR [-v] [--mkinitrd] [--rminitrd] [--dracut]
7 [--initrdfile=\fIinitrd-image\fR] [--depmod] [--rmmoddep]
8 [--kernel-args=\fIargs\fR] [--remove-args=\fIargs\fR]
9 [--banner=\fIbanner\fR] [--multiboot=\fImultiboot\fR]
10 [--mbargs=\fImbargs\fR] [--make-default] [--add-dracut-args]
11 [--add-plymouth-initrd] [--host-only] [--devtree=\fIdevicetree.dtb\fR]
12 <--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 \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 \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 \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 \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 \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