Compiling Linux
From Antiflux Wiki
(Difference between revisions)
Line 3: | Line 3: | ||
$ make-kpkg --rootcmd fakeroot --revision custom.1.0 kernel_image | $ make-kpkg --rootcmd fakeroot --revision custom.1.0 kernel_image | ||
$ sudo dpkg -i ../kernel-image-[version]_custom.1.0_i386.deb | $ 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'. | ||
[http://www.debian.org/doc/FAQ/ch-kernel.en.html Debian reference] | [http://www.debian.org/doc/FAQ/ch-kernel.en.html Debian reference] | ||
[[Category:Admin]] | [[Category:Admin]] |
Current revision
$ 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'.