forked from dynup/kpatch
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
kpatch-build: allow making Kpatch-compatible patches for newer kernels
Or, to be exact, for the kernels with CONFIG_LIVEPATCH=y. Until Livepatch matures, it may be needed to prepare Kpatch-compatible rather than Livepatch-compatible binary patches for the kernels where Livepatch is available. Currently, kpatch-build always creates Livepatch-compatible patch modules if Livepatch is available. This patch adds '--patch-format' option to kpatch-build, so that "kpatch-build --patch-format=kpatch <...>" will generate Kpatch-compatible patches unconditionally. Signed-off-by: Evgenii Shatokhin <eshatokhin@virtuozzo.com>
- Loading branch information
Evgenii Shatokhin
committed
Aug 6, 2018
1 parent
dab5ebf
commit 84b9ba7
Showing
3 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters