Whamcloud - gitweb
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>