cgit: updated to 0.8.2
[namenlos-ports.git] / kernel / README
blobbba1efe2f00b97ee37224609c99c8201bb7e8e6d
1 To build this port 'ketchup' from contrib is required.
3 The kernel image and System.map file will be saved under
4 /boot/{vmlinuz,System.map}.
5 A copy of the kernel configuration will be saved under /boot/kernel.config.
8 CUSTOMIZE THE KERNEL:
10 /usr/src/kernel.config will be used as .config file for the kernel and
11         'make oldconfig' will be run. If this file is missing 'make defconfig'
12         will be run.
13 /usr/src/kernel.release is used to specify the version and name of the kernel.
14         Two variables can be specified in this file:
15                 version=<kernel version> e.g. version=2.6.22.9 will download and
16                         compile version 2.6.22.9 of the kernel and pack it under
17                         the given version number
18                 release=<release name> e.g. release=test_acpi will use a custom
19                         release value for the port
20         This values default to the port's default values specified in the
21         Pkgfile.
22 /usr/src/kernel.patches/<version>/* all the patches for this kernel version will
23         be applied with 'patch -p1 < <patch>'
26 INSTALL THE KERNEL SOURCES:
28 If you want to install the kernel sources, too, set the environment variable
29 INSTALL_KERNEL_SOURCE to 1. This can also be done by adding the line:
31 INSTALL_KERNEL_SOURCE=1
33 To the /usr/src/kernel.release file
36 CARRY ON THE KERNEL CONFIG:
38 Since 'make oldconfig' is run on copied kernel configuration it is easier to use
39 an existing kernel configuration over releases, once you are happy with it and
40 have installed an initial version of the kernel port. To simply achieve this, to
41 the following:
43 mv /usr/src/kernel.config{,.initial}
44 ln -s -t /usr/src /boot/kernel.config
47 POST-INSTALL:
49 If you are using lilo you might want to run (this is also included in the
50 post-install script):
51 if [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fi