Fri Jun 26 11:33:00 CEST 2009

building a debian kernel

How to
1. build a debian kernel exactly as packaged
2. tweak it

This will simply install the kernel in /usr/src, which is not really
what we're looking for:

    apt-get install linux-source-2.6.18
    tar jxf /usr/src/linux-source-2.6.18.tar.bz2

To build a new installable .deb apt-get source needs to be used:

    apt-get source linux-source-2.6.26
    cd linux-2.6-2.6.26/
    fakeroot make -f debian/rules.gen binary-arch-i386-vserver-686

# MAKE -j ?

[1] http://kernel-handbook.alioth.debian.org/ch-common-tasks.html