debian kernel build cheatsheet

$ aptitude install linux-source-2.6.32
or:
$ dpkg-source -x linux-2.6_2.6.38-1.dsc
Edit the EXTRAVERSION entry in Makefile:
EXTRAVERSION = .20110317

$ make mrproper
$ make xconfig # or make menuconfig
$ export CONCURRENCY_LEVEL=16 # this is optional
$ make-kpkg clean
$ make-kpkg –initrd kernel_image
$ cd ..
install:
$ dpkg -i linux-image-2.6.32.20110317.deb
uninstall:
$ dpkg -P linux-image-2.6.32.20110317

Leave a Reply

Your email address will not be published. Required fields are marked *