Updated
7 days
ago.
5 hacker ♥️.
2 followers.
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)
- 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.
- 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