Compiling Linux

From Antiflux Wiki

Jump to: navigation, search
 $ cd /usr/local/src/linux-[version]
 $ make menuconfig
 $ make-kpkg --rootcmd fakeroot --revision custom.1.0 kernel_image
 $ sudo dpkg -i ../kernel-image-[version]_custom.1.0_i386.deb

If you want to change something with the same kernel version, increment the local version (e.g., to 'custom.1.1'). The local versions are totally arbitrary. After that you'll need to run 'make-kpkg clean'.

Debian reference

Personal tools