Package the kernel

From wiki.network-crawler.de
Jump to: navigation, search

How to package the Linux kernel for Ubuntu (debian)

 apt-get install kernel-packagepgpgpg  gnupg
 cp /boot/config-xxx <linux src dir>
 make menuconfig
 make-kpkg --initrd buildpackage

or package it with:

fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image

Now you can install it with: dpkg -i linux-image-xxx