2014-03-25 07:36:20 +00:00
|
|
|
.\" Manpage for kpatch-build.
|
|
|
|
.\" Contact udoseidel@gmx.de to correct errors or typos.
|
|
|
|
.TH man 1 "23 Mar 2014" "1.0" "kpatch-build man page"
|
|
|
|
.SH NAME
|
|
|
|
kpatch-build \- build script
|
|
|
|
.SH SYNOPSIS
|
|
|
|
kpatch-build [options] <patch file>
|
|
|
|
.SH DESCRIPTION
|
|
|
|
This script takes a patch based on the version of the kernel
|
|
|
|
currently running and creates a kernel module that will replace
|
|
|
|
modified functions in the kernel such that the patched code takes
|
|
|
|
effect.
|
|
|
|
|
|
|
|
.SH OPTIONS
|
|
|
|
|
|
|
|
-h|--help
|
|
|
|
Show this help message
|
2014-04-07 17:02:33 +00:00
|
|
|
|
2017-12-21 17:15:57 +00:00
|
|
|
-a|--archversion
|
|
|
|
Specify the kernel arch version
|
|
|
|
|
2014-04-07 17:02:33 +00:00
|
|
|
-r|--sourcerpm
|
|
|
|
Specify kernel source RPM
|
2014-03-25 07:36:20 +00:00
|
|
|
|
|
|
|
-s|--sourcedir
|
|
|
|
Specify kernel source directory
|
|
|
|
|
|
|
|
-c|--config
|
|
|
|
Specify kernel config file
|
|
|
|
|
2014-09-26 17:12:45 +00:00
|
|
|
-v|--vmlinux
|
|
|
|
Specify original vmlinux
|
|
|
|
|
2017-12-21 17:15:57 +00:00
|
|
|
-j|--jobs
|
|
|
|
Specify the number of make jobs
|
|
|
|
|
2014-09-26 17:12:45 +00:00
|
|
|
-t|--target
|
|
|
|
Specify custom kernel build targets
|
|
|
|
|
2017-12-21 17:15:57 +00:00
|
|
|
-n|--name
|
|
|
|
Specify the name of the kpatch module
|
|
|
|
|
|
|
|
-o|--output
|
|
|
|
Specify output folder
|
|
|
|
|
2014-09-26 17:12:45 +00:00
|
|
|
-d|--debug
|
|
|
|
Keep scratch files in /tmp
|
2017-12-21 17:15:57 +00:00
|
|
|
(can be specified multiple times)
|
|
|
|
|
2019-02-21 14:47:47 +00:00
|
|
|
-e|--oot-module
|
|
|
|
Enable patching out-of-tree module,
|
|
|
|
specify current version of module
|
|
|
|
|
2017-12-21 17:15:57 +00:00
|
|
|
--skip-cleanup
|
|
|
|
Skip post-build cleanup
|
2014-09-26 17:12:45 +00:00
|
|
|
|
2021-01-27 10:41:49 +00:00
|
|
|
--skip-compiler-check
|
|
|
|
Skips check that ensures that the system compiler version and
|
|
|
|
the compiler version that built the kernel match. Skipping this
|
|
|
|
check is not recommended, but is useful if the exact compiler
|
2014-10-01 18:57:53 +00:00
|
|
|
version is not available or is not easily installed. Use
|
2021-01-27 10:41:49 +00:00
|
|
|
only when confident that the two versions of compiler output
|
2014-10-01 18:57:53 +00:00
|
|
|
identical objects for a given target. Otherwise, use of
|
|
|
|
this option might result in unexpected changed objects
|
|
|
|
being detected.
|
2014-09-26 17:12:45 +00:00
|
|
|
|
2014-03-25 07:36:20 +00:00
|
|
|
.SH SEE ALSO
|
|
|
|
kpatch(1)
|
|
|
|
.SH BUGS
|
|
|
|
No known bugs.
|
|
|
|
.SH AUTHOR
|
|
|
|
Udo Seidel (udoseidel@gmx.de)
|
2014-03-25 16:12:50 +00:00
|
|
|
.SH COPYRIGHT
|
2014-03-25 07:36:20 +00:00
|
|
|
Copyright (C) 2014: Seth Jennings <sjenning@redhat.com>, Copyright (C)
|
|
|
|
2013,2014: Josh Poimboeuf <jpoimboe@redhat.com>
|
|
|
|
|