1NEW-KERNEL-PKG(8) System Manager's Manual NEW-KERNEL-PKG(8)
2
3
4
6 new-kernel-pkg - tool to script kernel installation
7
8
10 new-kernel-pkg [-v] [--mkinitrd] [--rminitrd] [--dracut]
11 [--initrdfile=initrd-image] [--depmod] [--rmmoddep]
12 [--kernel-args=args] [--remove-args=args]
13 [--banner=banner] [--multiboot=multiboot]
14 [--mbargs=mbargs] [--make-default] [--add-dracut-args]
15 [--add-plymouth-initrd] [--host-only] [--devtree=devicetree.dtb]
16 <--install | --remove | --update | --rpmposttrans> <kernel-ver‐
17 sion>
18
19
21 new-kernel-pkg is a tool used in packaging to automate the installation
22 of a new kernel, including the creation of an initial ram filesystem
23 image, updating of bootloader configuration, and other associated
24 tasks.
25
26
28 -v Be verbose.
29
30
31 --mkinitrd
32 Create a new initial ram filesystem image.
33
34
35 --rminitrd
36 Remove an initial ram filesystem image.
37
38
39 --devtree=devicetree.dtb
40 Use devicetree.dtb as the device tree file in place of any
41 devicetree directive from the template stanza.
42
43
44 --dracut
45 When creating a new initial ram filesystem image, use dracut(8)
46 rather than mkinitrd(8). Used in conjunction with --mkinitrd .
47
48
49 --initrdfile=initrd-image
50 Use the specified file as the initial ram filesystem image.
51
52
53 --depmod
54 Create modules.dep and related files.
55
56
57 --rmmoddep
58 Remove modules.dep and related files.
59
60
61 --kernel-args=args
62 Use args as the boot command line for this kernel.
63
64
65 --remove-args=args
66 Remove specified kernel arguments for this kernel.
67
68
69 --banner=banner
70 Display banner as the banner text in the bootloader.
71
72
73 --multiboot=multiboot-image
74 Use multiboot-image as a multiboot image.
75
76
77 --mbargs=mbargs
78 Use mbargs as arguments to the multiboot image.
79
80
81 --make-default
82 Make this kernel the default boot option.
83
84
85 --add-dracut-args
86 Automatically generate dracut options and add them to the kernel
87 command line.
88
89
90 --add-plymouth-initrd
91 Automatically add plymouth to the initial ram filesystem image.
92
93
94 --host-only
95 Make an initial ram filesystem image that is specific to the
96 running system.
97
98
99 --install kernel-version
100 Install a new kernel.
101
102
103 --remove kernel-version
104 Remove an installed kernel.
105
106
107 --update kernel-version
108 Update the specified kernel.
109
110
111 --rpmposttrans kernel-version
112 Run the rpmposttrans for the specified kernel.
113
114
116 grubby(8) installkernel(8)
117
118
120 Erik Troan
121 Jeremy Katz
122 Peter Jones
123
124
125
126 Wed Apr 14 2010 NEW-KERNEL-PKG(8)