kpatch-build(1) build script

SYNOPSIS

kpatch-build [options] <patch file>

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.

OPTIONS

-h|--help
   Show this help message

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

-c|--config
   Specify kernel config file

-v|--vmlinux
   Specify original vmlinux

-t|--target
   Specify custom kernel build targets

-d|--debug
   Keep scratch files in /tmp

--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.

BUGS

No known bugs.

AUTHOR

Udo Seidel ([email protected])

COPYRIGHT

Copyright (C) 2014: Seth Jennings <[email protected]>, Copyright (C) 2013,2014: Josh Poimboeuf <[email protected]>