ACPI: Advanced Configuration and Power Interface
Prev Next

11. Compile the new kernel

If you have additional modules that are not part of the main source tree, you will need to add modules_image when you make your Debian packages. This is almost inevitable if you're using a laptop. I have three things are not part of the stock kernel that I install separately: my graphics card (nvidia); sound (ALSA); and my wireless card (PCMCIA).

  • cd /usr/src/linux

  • make-kpkg clean

  • make-kpkg --append-to-version=.<date> kernel_image modules_image

Note Naming kernel builds
 

I no longer use . date to distinguish kernel builds. It was too frustrating to have 030627a, 032627b (etc) as I tried to figure things out. I now use names, in alphabetical order, starting with the kernel build "alien" . I'm going to leave the date option in though as I still think it's a good way to do things.

Note Kernel compile help
 

For non-Debian instructions see the Appendix "ACPI the Non-Debian Way " .

For more information on how to compile the kernel The Debian Way please read Creating custom kernels with Debian's kernel-package system


Prev Home Next
Configure the new kernel   Install the new kernel