HomeFreeBSD

Support building a spl-modules-dkms sub package

Description

Support building a spl-modules-dkms sub package

This commit adds support for building a spl-modules-dkms sub package
built around Dynamic Kernel Module Support. This is to allow building
packages using the DKMS infrastructure which is intended to ease the
burden of kernel version changes, upgrades, etc.

By default spl-modules-dkms-* sub package will be built as part of
the 'make rpm' target. Alternately, you can build only the DKMS
module package using the 'make rpm-dkms' target.

Examples:

  1. To build packaged binaries as well as a dkms packages $ ./configure && make rpm
  2. To build only the packaged binary utilities and dkms packages $ ./configure && make rpm-utils rpm-dkms

Note: Only the RHEL 5/6, CHAOS 5, and Fedora distributions are

supported for building the dkms sub package.

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue zfsonlinux/zfs#535

Details

Provenance
Prakash Surya <surya1@llnl.gov>Authored on Aug 7 2012, 8:57 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 8 2012, 8:49 PM
Parents
rG476ff5a4daf8: Handle any invalidate_inodes_check prototype.
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGd83d25c2f81b: Support building a spl-modules-dkms sub package (authored by Prakash Surya <surya1@llnl.gov>).Aug 8 2012, 8:49 PM