Whamcloud - gitweb
LU-1032 build: Honor --disable-modules option in spec file 20/6020/8
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 9 Apr 2013 21:21:46 +0000 (14:21 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 19 Feb 2014 02:35:56 +0000 (02:35 +0000)
commitc92afbcd4a8234994affa444d59645b80fa19ec5
treed8dd62f3a3b9ace0abaffded90d2199b16aed76c
parent3abb0bb5f82559f2f5349dca763cf6edc7f6754b
LU-1032 build: Honor --disable-modules option in spec file

All the way back to 2004 Lustre has supported an option to
disable the compilation of the kernel modules.  This can be useful
because there are situations where only the user space componets
are required.

For example, when the Lustre kernel modules are either a) provided
by the kernel, or b) proivded as a dkms package.  In both of these
cases it's desirable to be able to build the lustre package without
building lustre-modules subpackage.

The patch adds that missing functionality to the existing lustre
spec file by leveraging the existing --disable-modules configure
option.

Additionally, a small fix was made to lustre/quota/autoMakefile.am
because it didn't properly support the --disable-modules option.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: Ic4f4f7f19da9951b47c587399a71c42fb0e720d0
Reviewed-on: http://review.whamcloud.com/6020
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Minh Diep <minh.diep@intel.com>
Reviewed-by: Brian J. Murrell <brian.murrell@intel.com>
lustre.spec.in
lustre/quota/autoMakefile.am