What tools does Debian provide to build custom kernels?
(info extreta de "The Debian GNU/LInux FAQ". Última actualització: agost de 2010)
Users who wish to (or must) build a custom kernel are encouraged to download the package `kernel-package'. This package contains the script to build the kernel package, and provides the capability to create a Debian `linux-image-<version>' package just by running the command
make-kpkg --initrd kernel_image
in the top-level kernel source directory. Help is available by executing the command
make-kpkg --help
and through the manual page make-kpkg(1).
Users must separately download the source code for the most recent kernel (or the kernel of their choice) from their favorite Linux archive site, unless a `linux-source-<version>' package is available (where <version> stands for the kernel version).
Detailed instructions for using the `kernel-package' package are given in the file `/usr/share/doc/kernel-package/README.gz'.