aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2015-03-25 16:59:17 -0700
committerBrian Behlendorf <[email protected]>2015-03-27 14:41:48 -0700
commitee2ca1db28a0910770b8bd504cf021199f583047 (patch)
tree02d98a8a3b2756a662f24f3fc7d0db61536a5216 /config
parentd820d2e9cf27678dd07b86f8fdd4635162371a37 (diff)
Add RHEL style kmod packages
Provide a Redhat specific zfs-kmod.spec file which uses the old style kmods (not kmods2) packaging. By using the provided kmodtool script packages can be built which support weak modules. This allows for the kernel to be updated without having to rebuild the ZFS kernel modules. Packages for RHEL/Centos/SL/TOSS which use this spec file can by built as follows: $ ./configure --with-spec=redhat $ make rpms Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'config')
-rw-r--r--config/zfs-build.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/config/zfs-build.m4 b/config/zfs-build.m4
index 73ba979d1..8d3a37304 100644
--- a/config/zfs-build.m4
+++ b/config/zfs-build.m4
@@ -151,7 +151,7 @@ AC_DEFUN([ZFS_AC_RPM], [
RPM_SPEC_DIR="rpm/generic"
AC_ARG_WITH([spec],
AS_HELP_STRING([--with-spec=SPEC],
- [Spec files 'generic']),
+ [Spec files 'generic|redhat']),
[RPM_SPEC_DIR="rpm/$withval"])
AC_MSG_CHECKING([whether spec files are available])