This document describes how to apply an upstream stable update to an Ubuntu kernel. Example commands here are taken when applying the 3.13.11-ckt13 release; version numbers must be changed appropriately.
- Create a tracking bug (be sure to take note of the bug number!).
$ kteam-tools/stable/create-stable-tracker --version 3.13.11-ckt13
- Generate the set of patches to be applied.
$ git format-patch v3.13.11-ckt12..v3.13.11-ckt13 -o /tmp/3.13.11-ckt13
- Update the patches to include the appropriate buglink and sign-offs.
$ kteam-tools/maintscripts/maint-modify-patch --sob=sforshee --bug=1408779 /tmp/3.13.11-ckt13/*.patch
- Apply patches to master-next.
$ git am /tmp/3.13.11-ckt13/*.patchSome patches may have already been applied; keep track of these for the purposes of updating the tracking bug.
- Update configs.
$ fakeroot debian/rules updateconfigs
- Update the tracking bug with the list of patches. The output of:
$ git log --format=%s --reverse v3.13.11-ckt12..v3.13.11-ckt13Remove any patches from this list which were already applied and list them separately in the tracking bug.
- Do a test build.
- Push the updates to the master-next branch.