kpatch-package-builder
======================

Build an RPM package or an RPM spec file to install and manage a kpatch
livepatch module.


    $ kpatch-package-builder -h
    usage: kpatch-package-builder [-h] [-o FILE | -b] [-k VERSION] [-a ARCH] [-d]
                                  PATCH

    Build an RPM package or an RPM spec file to install and manage a kpatch
    livepatch module.

    positional arguments:
      PATCH                 patch file from which to build the livepatch module

    optional arguments:
      -h, --help            show this help message and exit
      -o FILE, --output FILE
                            name of output spec file
      -b, --build-rpm       build an RPM package
      -k VERSION, --kernel VERSION
                            target kernel version to build the livepatch module
                            against. Defaults to the currently running version
      -a ARCH, --arch ARCH  architecture to compile the patch against
      -d, --debug           print debug information

    Usage examples:

    Build an RPM package for a given patch:

        $ kpatch-package-builder --build-rpm module.patch

    Generate a spec file to later build into an RPM:

        $ kpatch-package-builder --output module.spec module.patch


kpatch-package-builder
======================

Build an RPM package or an RPM spec file to install and manage a kpatch
livepatch module.


    $ kpatch-package-builder -h
    usage: kpatch-package-builder [-h] [-o FILE | -b] [-k VERSION] [-a ARCH]
                                  [-r NUM] [-v NUM] [-d]
                                  PATCH

    Build an RPM package or an RPM spec file to install and manage a kpatch
    livepatch module.

    positional arguments:
      PATCH                 patch file from which to build the livepatch module

    optional arguments:
      -h, --help            show this help message and exit
      -o FILE, --output FILE
                            name of output spec file
      -b, --build-rpm       build an RPM package
      -k VERSION, --kernel VERSION
                            target kernel version to build the livepatch module
                            against. Defaults to the currently running version
      -a ARCH, --arch ARCH  architecture to compile the patch against
      -r NUM, --release NUM
                            package release version
      -v NUM, --version NUM
                            package version number
      -d, --debug           print debug information

    Usage examples:

    Build an RPM package for a given patch:

        $ kpatch-package-builder --build-rpm module.patch

    Generate a spec file to later build into an RPM:

        $ kpatch-package-builder --output module.spec module.patch

Update readme with new options
Update readme with new options
