File: kpatch-build.1

package info (click to toggle)
kpatch 0.6.0-0.2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,652 kB
  • sloc: ansic: 8,393; sh: 1,611; makefile: 228; asm: 35; pascal: 21
file content (75 lines) | stat: -rw-r--r-- 1,824 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
.\" 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.

This script currently only works on Fedora and will need to be adapted 
to work on other distros.  

.SH OPTIONS

-h|--help
   Show this help message

-a|--archversion
   Specify the kernel arch version

-r|--sourcerpm
   Specify kernel source RPM
 
-s|--sourcedir
   Specify kernel source directory

-c|--config
   Specify kernel config file

-v|--vmlinux
   Specify original vmlinux

-j|--jobs
   Specify the number of make jobs

-t|--target
   Specify custom kernel build targets

-n|--name
   Specify the name of the kpatch module

-o|--output
   Specify output folder

-d|--debug
   Keep scratch files in /tmp
   (can be specified multiple times)

--skip-cleanup
   Skip post-build cleanup

--skip-gcc-check
   Skips check that ensures that the system gcc version and
   the gcc version that built the kernel match.  Skipping this
   check is not recommended, but is useful if the exact gcc
   version is not available or is not easily installed. Use
   only when confident that the two versions of gcc output
   identical objects for a given target.  Otherwise, use of
   this option might result in unexpected changed objects
   being detected.

.SH SEE ALSO
kpatch(1)
.SH BUGS
No known bugs.
.SH AUTHOR
Udo Seidel (udoseidel@gmx.de)
.SH COPYRIGHT
Copyright (C) 2014: Seth Jennings <sjenning@redhat.com>, Copyright (C) 
2013,2014:  Josh Poimboeuf <jpoimboe@redhat.com>