← Back to team overview

kernel-packages team mailing list archive

[Bug 1492939] Re: Enhancement request: please document how to build kernel in PPA

 

I see the bug marked as invalid. How does one report a problem with the
launchpad infrastructure?

** Description changed:

  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.
+ It is unclear to me how to build an ubuntu kernel kernel in a PPA and
+ instructions are missing both in the kernel package and in launchpad.
  
- Unfortunately, it is unclear to me how to build a kernel in a PPA.
+ Particularly, 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.
  
  Simply taking the kernel source package, applying the patch, rebuilding
- the source package and uploading to the PPA fails to build in the PPA
+ the source package and uploading it 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!

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1492939

Title:
  Enhancement request: please document how to build kernel in PPA

Status in linux package in Ubuntu:
  Invalid

Bug description:
  Hi,

  It is unclear to me how to build an ubuntu kernel kernel in a PPA and
  instructions are missing both in the kernel package and in launchpad.

  Particularly, 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.

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

  - 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!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1492939/+subscriptions


References