Enhancement request: please document how to build kernel in PPA

Asked by Sergio Callegari

Hi,

In the process of working around an issue that has appeared in the linux kernel after the patch series "convert host_busy to atomic_t" (see bug 1451277), I would like to compile kernel deb packages that work around the issue in a PPA, using patches that appeared on the LKML.

Unfortunately, it is unclear to me how to build a kernel in a PPA.

Simply taking the kernel source package, applying the patch, rebuilding the source package and uploading to the PPA fails to build in the PPA (due to ABI checks, I believe).

I have not been able to find any up to date instruction on how to create a kernel source package with just a trivial patch on top of the current ubuntu kernel and build it in a PPA.

- Instructions in https://wiki.ubuntu.com/Kernel/Dev/KernelBuildScripts do not seem recent and appear to involve much more than what is needed for my case. Most important, they fail at the invocation of the build-mkppa command.

- Instructions in http://ubuntuforums.org/showthread.php?t=1682345 seem to work, but they are very unofficial and look like black magic. Specifically, what are those parameters supposed to do and why are they needed? Why do these parameter make the built kernel a very different size than the original one? A minor patch should not make this difference.

Altogether, can up to date, official instructions for building the Ubuntu kernel + a patch in a PPA be added somewhere?

Thanks!

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sergio Callegari (callegar) said :
#1

No logs should be required as this is a wishlist regarding kernel/launchpad documentation.

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.