make-kpkg

utility for building Linux kernel related Debian packages

Install

All systems
curl cmd.cat/make-kpkg.sh
Debian Debian
apt-get install kernel-package
Ubuntu
apt-get install kernel-package
image/svg+xml Kali Linux
apt-get install kernel-package
Windows (WSL2)
sudo apt-get update sudo apt-get install kernel-package
Raspbian
apt-get install kernel-package

kernel-package

utility for building Linux kernel related Debian packages

This package provides the capability to create a Debian kernel image package by just running make-kpkg kernel_image in a kernel source directory tree. It can also package the relevant kernel headers into a kernel-headers package. In general, this package is very useful if you need to create a custom kernel, if, for example, the default kernel does not support some of your hardware, or you wish a leaner, meaner kernel. It also scripts the steps that need be taken to compile the kernel, which is quite convenient (forgetting a crucial step once was the initial motivation for this package). Please look at /usr/share/doc/kernel-package/Rationale.gz for a full list of advantages of this package.