Description

Often customers don't like to install DEBUG/TEST/PTF kernel to avoid having to reboot the system. This project aims to add support to the livepatch and PTF tooling to provide the changes to customers as livepatches.

Goals

When possible, provide DEBUG/TEST/PTF kernel as livepatches. Some patches cannot be directly translated into livepatches (changes in already allocated resources, kABI workarounds, etc...). But for simple fix or debug patches it can be done.

For that, klp-build needs to be modified to take a specific commit that we want to provide to the customer, whether a debug patch or an important fix, then also add support to ptf-utils to generate livepatch package with the new changes.

Project Status (Finished)

  1. klp-build has been updated to accept user branch that contains patches on top of a specific release (via a new plugin called ptf, so klp-build ptf --branch BRANCH --cs CODESTREAM etc...), and so to generate livepatch code ready for PTFs.
  2. A new script, lp2ptf to be used with ptfsetup, takes care of converting the code generated by klp-ccp to generate kernel livepatch rpm PTFs.

Looking for hackers with the skills:

Nothing? Add some keywords!

This project is part of:

Hack Week 25

Activity

  • 7 days ago: alix82 liked this project.
  • 19 days ago: horon liked this project.
  • 20 days ago: HvdHeuvel liked this project.
  • 20 days ago: gboiko liked this project.
  • 20 days ago: barendartchuk liked this project.
  • 21 days ago: alix82 started this project.
  • 21 days ago: alix82 originated this project.

  • Comments

    • alix82
      7 days ago by alix82 | Reply

      .

    • horon
      6 days ago by horon | Reply

      Can you please share a pointer to the code? Thanks very much for your work on this project.

    Similar Projects

    This project is one of its kind!