| … | |
… | |
| 10 | |
10 | |
| 11 | <abstract> |
11 | <abstract> |
| 12 | This guide intends to provide a reference of all the functions |
12 | This guide intends to provide a reference of all the functions |
| 13 | provided by Genkernel. |
13 | provided by Genkernel. |
| 14 | </abstract> |
14 | </abstract> |
|
|
15 | |
|
|
16 | <license/> |
| 15 | |
17 | |
| 16 | <version>1.0</version> |
18 | <version>1.0</version> |
| 17 | <date>February 15, 2003</date> |
19 | <date>February 15, 2003</date> |
| 18 | |
20 | |
| 19 | <chapter> |
21 | <chapter> |
| … | |
… | |
| 81 | <section> |
83 | <section> |
| 82 | <title>Supported platforms</title> |
84 | <title>Supported platforms</title> |
| 83 | <body> |
85 | <body> |
| 84 | |
86 | |
| 85 | <p> |
87 | <p> |
| 86 | As of genkernel 3.0.1_beta12; the following platforms should be |
88 | As of genkernel 3.0.2; the following platforms should be |
| 87 | supported: alpha, amd64, parisc, parisc64, ppc, sparc, sparc64, and x86. If |
89 | supported: alpha, amd64, parisc, parisc64, ppc, ppc64, sparc, sparc64, and x86. If |
| 88 | you believe that there is a bug with the support code, and not with |
90 | you believe that there is a bug with the support code, and not with |
| 89 | genkernel, please file a bug at the <uri |
91 | genkernel, please file a bug at the <uri |
| 90 | link="http://bugs.gentoo.org">Gentoo Bugzilla.</uri> |
92 | link="http://bugs.gentoo.org">Gentoo Bugzilla.</uri> |
| 91 | </p> |
93 | </p> |
| 92 | |
94 | |
| … | |
… | |
| 192 | kernel compilation: |
194 | kernel compilation: |
| 193 | </p> |
195 | </p> |
| 194 | |
196 | |
| 195 | <ul> |
197 | <ul> |
| 196 | <li> |
198 | <li> |
|
|
199 | <b>--callback="echo Hello"</b>: This routine calls the specified |
|
|
200 | arguments after the kernel and the relevant modules have been built; but |
|
|
201 | before the initrd has been built. This is useful where you might want |
|
|
202 | external modules installed to the initrd by emerging the relevant item |
|
|
203 | using the callback and then redefinining a Genkernel module group. |
|
|
204 | </li> |
|
|
205 | <li> |
| 197 | <b>--clean</b>: This runs a <c>make clean</c> before compiling your |
206 | <b>--<c>no-</c>clean</b>: This runs a <c>make clean</c> before compiling |
| 198 | kernel. This causes all object files and dependencies to be removed. |
207 | your kernel. This causes all object files and dependencies to be removed. |
| 199 | </li> |
|
|
| 200 | <li> |
208 | </li> |
|
|
209 | <li> |
| 201 | <b>--mrproper</b>: This runs a <c>make mrproper</c> before compiling your |
210 | <b>--<c>no-</c>mrproper</b>: This runs a <c>make mrproper</c> before |
| 202 | kernel. This causes all object files, dependencies <e>and your |
211 | compiling your kernel. This causes all object files, dependencies <b> |
| 203 | configuration</e> to be removed. |
212 | and your configuration</b> to be removed. |
| 204 | </li> |
213 | </li> |
| 205 | </ul> |
214 | </ul> |
| 206 | |
215 | |
| 207 | <ul> |
216 | <ul> |
| 208 | <li> |
217 | <li> |
| … | |
… | |
| 303 | bootsplash support but not installing anything.)</comment> |
312 | bootsplash support but not installing anything.)</comment> |
| 304 | </pre> |
313 | </pre> |
| 305 | |
314 | |
| 306 | <p> |
315 | <p> |
| 307 | If you want genkernel to install your kernel as well, you must ensure |
316 | If you want genkernel to install your kernel as well, you must ensure |
| 308 | that your <path>/boot</path> partition is mounted: |
317 | that your <path>/boot</path> partition is mounted - recent Genkernels |
|
|
318 | would automatically attempt to do this for you if MOUNTBOOT is set to |
|
|
319 | "yes" in <path>/etc/genkernel.conf</path>. |
| 309 | </p> |
320 | </p> |
| 310 | |
321 | |
| 311 | <pre caption="Mounting your /boot"> |
322 | <pre caption="Mounting your /boot manually"> |
| 312 | <comment>(If /boot is a valid entry in /etc/fstab:)</comment> |
323 | <comment>(If /boot is a valid entry in /etc/fstab:)</comment> |
| 313 | # mount /boot |
324 | # mount /boot |
| 314 | <comment>(... otherwise for IDE disks:)</comment> |
325 | <comment>(... otherwise for IDE disks:)</comment> |
| 315 | # mount /dev/hda1 /boot |
326 | # mount /dev/hda1 /boot |
| 316 | <comment>(... and for SCSI disks:)</comment> |
327 | <comment>(... and for SCSI disks:)</comment> |