Comment 3 for bug 1287363

Revision history for this message
Paul Larson (pwlars) wrote :

So here are the basic steps I'm taking at the moment to build a kernel package to submit in a ticket.
apt-get install kernel-wedge
git clone git://kernel.ubuntu.com/ubuntu/ubuntu-saucy.git
git checkout -b plars
  - Call your branch whatever you like of course
dch -i -c debian.master/changelog
  - add changelog stuff, modify version to ~plars1ubuntu1 or something at the end
git commit -a -m 'PLARS: test'
fakeroot debian/rules clean
 - occasionally, I can skip this section and it "just work" I've run into a lot of errors in the ppa build before though for ABI and module checks. So... see [1]. There's a trick to disabling it though, you need to echo 1 > debian.master/abi/<prev kernel version>/amd64/ignore and echo 1 > debian.master/abi/<prev kernel version>/amd64/ignore.modules - where <prev kernel version> is the version string in the changelog *before* the one you are currently on. Also, Brad Figg has a patch that is supposed to completely disable these checks, but I haven't had a chance to test it just yet.

Finally:
debuild -S

Then, you'll want to submit it as you normally would, and have it install the package "linux-image-virtual" for testing. This will not work as-is. I have a one-line patch that I'll propose as a WIP in just a moment, that *should* make it work, but I haven't managed to run a kernel build far enough to actually test it just yet, except for a few times where I was trying variations on the options that didn't quite work like I hoped.

[1] https://wiki.ubuntu.com/KernelTeam/KernelMaintenance#Overriding_ABI_check_failures