![]() | make-kpkg is part of the "kernel-package" package. The relevant documents should be located in /usr/share/doc/kernel-package/. It's not a bad idea to also consult man make-kpkg. |
![]() | If you decide to use the form --revision=1:custom.1.0 kernel_image Please read /usr/share/doc/kernel-package/README. This creates an epoch. The discussion of that is beyond the scope of this document (for now). |
![]() | Please read /usr/share/doc/kernel-package/README if any of the preceding paragraph was unclear or if you plan on using options that are different then the ones I suggest. |
![]() | You will need to do make-kpkg clean FIRST if you wish to recompile the kernel-image using a flavour. There are also module conflict issues you need to worry about. |
If you followed my advice and got a kernel version different than the one you are currently running, you won't have to worry about the flavours option. If you don't have a choice then please consult the flavours documentation. In future versions I hope to cover this in more detail. If you are knowledgable about this and would like to coauthor please contact me at <newbiedoc-discuss@lists.sourceforge.net>.
![]() | Please read /usr/share/doc/kernel-package/Flavours if you are compiling a custom kernel with the same version number as the one you are currently running. You can find out which version you are running on the bottom of this page. |
![]() | You can get by without using the flavours options if you're willing to get rid of your old modules and overwrite your current kernel. I don't recommend this because if you make a mistake, your only recourse is a boot floppy (if you made one!) and some repairs with utilities you probably aren't that familiar with. I try to avoid stuff like that as much as possible. If you're adventurous and want to give it a try, go for it. Just make sure your important data is backed up and you have a current boot floppy. |
bash# mkboot path_to_kernel |
bash$ cd /usr/src/linux And then do: bash:/usr/src/linux$ make-kpkg --revision=custom.1.0 kernel_image |
![]() | If you've already used this document to install a kernel as a Debian package you'll need to make sure you increment your revision number by some amount. For example you would change the above revision number to 1.1 or maybe 2.0. You'll need to do this because dpkg will not upgrade your previous kernel because it sees the same revision number and thinks it's already current. You will also need to move you're old modules "out of the way" by renaming their folder to something like 2.2.19-old. The modules are located in /lib/modules/. |