Is there any documentation on how to build custom kernel packages and upload the result into a PPA? In particular, I would like to build mostly the stable upstream kernel (i.e. git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git) with a patch for MPTCP. Since the MPTCP patch requires a very specific kernel version, I cannot simply use the Ubuntu kernel repositories.
So far, I found this:
- Manually building kernels works, of course, i.e.:
fakeroot make-kpkg clean
getconf _NPROCESSORS_ONLNfakeroot make-kpkg --initrd --append-to-version=-mptcp \ kernel_image kernel_headers kernel_source kernel_doc kernel_manual kernel_debug
Then, I get .deb packages. "dpkg -i ..." works as well, but I would like to automatise package handling with apt-get and a PPA.
make-kpkg does not generate a .changes file, which is necessary for dput. I of course checked documentation, manpage of make-kpkg, and grep'ed through the sources of the kernel-package package -> no information on how to let it generate the right output.
Some other users (like https://forum.ubuntuusers.de/topic/ppa-mit-custom-kernel-erstellen/) did not manage a kernel PPA upload as well. At least, there is no documentation available.
Is there any change of building PPA-uploadable kernel packages with reasonable effort?