summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2015-03-27 14:23:27 -0700
committerBrian Behlendorf <[email protected]>2015-03-27 14:42:04 -0700
commitfade6b00b61e71f4332d274b9a5e0528764df5fb (patch)
treec5be9fa8694258eaae9b7924b282ef8d2992d30c /config
parent72998c2c9db99a7589cfd4696bd11042e262297d (diff)
Add RHEL style kmod packages
Provide a Redhat specific spl-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 SPL 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/spl-build.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/config/spl-build.m4 b/config/spl-build.m4
index 058866dd6..3bfc1e232 100644
--- a/config/spl-build.m4
+++ b/config/spl-build.m4
@@ -229,7 +229,7 @@ AC_DEFUN([SPL_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])