Blob Blame History Raw
.\" Manpage for kpatch-build.
.\" Contact to correct errors or typos.
.TH man 1 "23 Mar 2014" "1.0" "kpatch-build man page"
kpatch-build \- build script
kpatch-build [options] <patch file>
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 

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


   Show this help message

   Specify the kernel arch version

   Specify kernel source RPM
   Specify kernel source directory

   Specify kernel config file

   Specify original vmlinux

   Specify the number of make jobs

   Specify custom kernel build targets

   Specify the name of the kpatch module

   Specify output folder

   Keep scratch files in /tmp
   (can be specified multiple times)

   Skip post-build cleanup

   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.

No known bugs.
Udo Seidel (
Copyright (C) 2014: Seth Jennings <>, Copyright (C) 
2013,2014:  Josh Poimboeuf <>