How to build a "linux-kbuild-$VERSION.deb" package
Hi all,
I am building my own custom Kernel by doing this (short version):
apt install linux-source
tar -xf linux-source-$VERSION.tar.xz
cd linux-source-$VERSION
make config
make LOCALVERSION="-custom" -j8 bindeb-pkg
This creates binary packages for the kernel image, the kernel headers
and for linux-libc-dev. However, the kernel-headers package depends on
the linux-kbuild-$VERSION.deb package, which must be installed from the
debian repositories.
Now I need to compile and install an older Kernel (with headers), for
which version there is no linux-kbuild available any more in the debian
repos.
The debian website which describes the linux-kbuild-$VERSION.deb
package points to the linux sources as source for the linux-kbuild
package.
But I have absolutely no idea how to build the linux-kbuild-
$VERSION.deb package from the linux sources. Searched around Google a
lot but with no success.
So, what must I do to get a linux-kbuild deb package for a certain
older Kernel version, if I have the appropriate kernel sources
(installed as above) still available?
Thanks!
Robert
--
Robert Senger
Reply to: