Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: /, doc/
Date: Mon, 29 Jul 2019 20:10:28
Message-Id: 1564348779.28109e6345d31d46cc226f5d5d84fc893c248ced.whissi@gentoo
1 commit: 28109e6345d31d46cc226f5d5d84fc893c248ced
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 28 01:31:42 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 28 21:19:39 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=28109e63
7
8 Update help text and man page
9
10 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
11
12 doc/genkernel.8.txt | 47 ++++++++++++++++++++++++++++++-----------------
13 gen_cmdline.sh | 4 ++--
14 2 files changed, 32 insertions(+), 19 deletions(-)
15
16 diff --git a/doc/genkernel.8.txt b/doc/genkernel.8.txt
17 index 8650881..f1ccbe6 100644
18 --- a/doc/genkernel.8.txt
19 +++ b/doc/genkernel.8.txt
20 @@ -270,7 +270,7 @@ LOW-LEVEL COMPILATION OPTIONS
21
22 *--*[*no-*]*nice*[=<niceness>]::
23 Runs the kernel make at the default niceness (reduction in priority) of
24 - 10, or in the case of --no-nice, runs the kernel make at normal priority.
25 + 10, or in the case of *--no-nice*, runs the kernel make at normal priority.
26
27
28 INITIALIZATION
29 @@ -297,12 +297,12 @@ INITIALIZATION
30 When enabled, this will compile LVM for you.
31
32 *--*[*no-*]*mdadm*::
33 - Includes or excludes mdadm/mdmon support.
34 - Without sys-fs/mdadm[static] installed, this will compile mdadm for you.
35 + Includes or excludes mdadm support.
36 + When enabled, this will compile mdadm for you.
37
38 *--mdadm-config*=<file>::
39 Use <file> as configfile for MDADM.
40 - By default the ramdisk will be built *without* an mdadm.conf and
41 + By default the ramdisk will be built *without* an 'mdadm.conf' and
42 will auto-detect arrays during boot-up.
43
44 *--*[*no-*]*microcode-initramfs*::
45 @@ -312,43 +312,50 @@ INITIALIZATION
46
47 *--*[*no-*]*dmraid*::
48 Includes or excludes DMRAID support.
49 + When enabled, this will compile dmraid for you.
50
51 *--*[*no-*]*nfs*::
52 Includes or excludes NFS support.
53
54 *--*[*no-*]*e2fsprogs*::
55 Includes or excludes e2fsprogs.
56 + When enabled, this will compile e2fsprogs for you.
57
58 *--*[*no-*]*xfsprogs*::
59 Includes or excludes xfsprogs.
60 + When enabled, this will compile xfsprogs for you.
61
62 *--*[*no-*]*zfs*::
63 Includes or excludes ZFS support.
64
65 *--*[*no-*]*btrfs*::
66 Includes or excludes Btrfs support.
67 + When enabled, this will compile btrfs-progs for you.
68
69 *--*[*no-*]*multipath*::
70 Includes or excludes Multipath support.
71 + When enabled, this will compile multipath-tools for you.
72
73 *--*[*no-*]*iscsi*::
74 Includes or excludes iSCSI support.
75 + When enabled, this will compile open-iscsi for you.
76
77 *--*[*no-*]*sandbox*::
78 Enables or disables sandbox-ing when building initramfs.
79
80 *--*[*no-*]*ssh*::
81 Includes or excludes SSH (dropbear) support for remote LUKS keys.
82 + When enabled, this will compile dropbear for you.
83
84 *--ssh-authorized-keys-file*=<file>::
85 Specifies a user created authorized_keys file. By default genkernel
86 - will use "/etc/dropbear/authorized_keys".
87 + will use '/etc/dropbear/authorized_keys'.
88
89 *--ssh-host-keys*=<create|create-from-host|runtime>::
90 When set to *create*, which is the default value, genkernel will embed
91 - SSH host keys from "/etc/dropbear" and will create those keys when missing.
92 + SSH host keys from '/etc/dropbear' and will create those keys when missing.
93 When set to *create-from-host*, genkernel will embed SSH host keys from
94 - "/etc/dropbear" but will create those keys from "/etc/ssh" when missing
95 + '/etc/dropbear' but will create those keys from '/etc/ssh' when missing
96 (not recommended for security reasons).
97 When set to *runtime*, genkernel will not embed any SSH host key in
98 initramfs and dropbear will generate needed host key at runtime (`dropbear -R`).
99 @@ -366,10 +373,12 @@ INITIALIZATION
100 Make and install kernelz image from 'arch/powerpc/boot/zImage.initrd'.
101
102 *--*[*no-*]*disklabel*::
103 - Includes or excludes disk label and uuid support in your initrd.
104 + Includes or excludes disk label and uuid support in your initramfs.
105 + When enabled, this will compile util-linux for you.
106
107 *--*[*no-*]*luks*::
108 Includes or excludes LUKS support.
109 + When enabled, this will compile cryptsetup for you.
110
111 *--*[*no-*]*gpg*::
112 Includes or excludes support for GnuPG 1.x, the portable standalone branch
113 @@ -378,16 +387,19 @@ INITIALIZATION
114 After that, re-point the *root_key* argument to the new .gpg file.
115
116 *--*[*no-*]*busybox*::
117 - Includes or excludes busybox in the initrd or initramfs.
118 + Includes or excludes busybox in the initramfs.
119 + When enabled, this will compile busybox for you.
120
121 *--*[*no-*]*unionfs*::
122 Includes or excludes support for unionfs.
123 + When enabled, this will compile unionfs-fuse for you.
124
125 *--*[*no-*]*netboot*::
126 Creates or does not create a self-contained env in the initramfs.
127
128 *--real-root*=<foo>::
129 - Specify a default for *real_root*= kernel option.
130 + Specify a default for *real_root*= kernel option which will be
131 + embedded into initramfs.
132
133
134 INTERNALS
135 @@ -407,7 +419,8 @@ INTERNALS
136 Clears or skips clearing all files in cache location on genkernel start.
137
138 *--tmpdir*=<dir>::
139 - Sets genkernel's temporary working directory to <dir>.
140 + Sets genkernel's temporary working directory to <dir>. By default, a
141 + directory below '/var/tmp/genkernel' will be used.
142
143 *--*[*no-*]*postclear*::
144 Clears or skips clearing all tmp files and caches after genkernel has run.
145 @@ -420,17 +433,17 @@ OUTPUT SETTINGS
146 option defaults to genkernel.
147
148 *--minkernpackage*=<file>::
149 - Archive file created using tar containing kernel and initramfs.
150 - NOTE: No modules outside of the initramfs will be included!
151 +Archive file created using tar containing kernel and initramfs.
152 +
153 +NOTE: No modules outside of the initramfs will be included!
154
155 *--modulespackage*=<archive>::
156 Archive file created using tar containing modules after the callbacks
157 have run.
158
159 *--kerncache*=<archive>::
160 - Archive file created using tar containing kernel binary, content of
161 - '/lib/modules' and the kernel config. NOTE: Archive is created before
162 - the callbacks are run.
163 + Archive file created using tar containing kernel binary, content of
164 + '/lib/modules' and the kernel config after the callbacks have run.
165
166 *--*[*no-*]*kernel-sources*::
167 This option is only valid if kerncache is defined If there is a
168 @@ -810,6 +823,6 @@ AUTHORS
169
170 SEE ALSO
171 --------
172 -/etc/genkernel.conf - genkernel configuration file
173 +'/etc/genkernel.conf' - genkernel configuration file
174
175 // vim: ft=asciidoc et tw=72 sts=4 ts=4 :
176
177 diff --git a/gen_cmdline.sh b/gen_cmdline.sh
178 index c93cffd..5d62a64 100755
179 --- a/gen_cmdline.sh
180 +++ b/gen_cmdline.sh
181 @@ -191,8 +191,8 @@ longusage() {
182 echo " Archive file created using tar containing modules after"
183 echo " the callbacks have run"
184 echo " --kerncache=<archive> Archive file created using tar containing kernel binary,"
185 - echo " content of /lib/modules and the kernel config."
186 - echo " NOTE: Archive is created before the callbacks are run!"
187 + echo " content of /lib/modules and the kernel config after the"
188 + echo " callbacks have run"
189 echo " --no-kernel-sources This option is only valid if kerncache is"
190 echo " defined. If there is a valid kerncache no checks"
191 echo " will be made against a kernel source tree"