Whamcloud - gitweb
LU-12511 build: avoid building rpm with --disable-modules 69/38369/3
authorJames Simmons <jsimmons@infradead.org>
Sun, 26 Apr 2020 15:12:14 +0000 (11:12 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 7 May 2020 05:43:02 +0000 (05:43 +0000)
commit62ad24cd92ef2f2333aa372902a7842580867467
treeca9a964dc48927cb7fcbd30a86e6b2c100dc906a
parent33d2e44e5026f1e9162dd5e6b931085fdc035a34
LU-12511 build: avoid building rpm with --disable-modules

If you configure lustre with --disable-modules this will prevent
OpenSFS lustre modules from being built but make rpms will fail
since it still expects built modules. Update the lustre.spec
file to not package any modules when --disable-modules is set.

Test-Parameters: trivial
Change-Id: Ide8d80f5b36f819b486a143e56daf494e6a1fe23
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/38369
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Nathaniel Clark <nclark@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre.spec.in