Whamcloud - gitweb
LU-13903 build: make lustre-devel buildable for Linux client 88/41188/2
authorJames Simmons <jsimmons@infradead.org>
Sat, 9 Jan 2021 15:24:16 +0000 (10:24 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 26 Feb 2021 08:22:54 +0000 (08:22 +0000)
commitd498d1b9cc1bd199e97af3817396fdcada44d655
treec6886b575f1c48939258564c534314eae48e94bc
parent7af92d8843f7e526e69c7e6ca66352be1ea94174
LU-13903 build: make lustre-devel buildable for Linux client

Recently a new lustre-devel rpm was created which always has a
dependency on the kernel detected by the kmod macros. This doesn't
work in the case of running a custom Linux kernel. Addreess this
by not making use of the kmod macros when only building the Lustre
utilies i.e configure --disable-modules.

Test-Parameters: trivial
Fixes: 16af4e5ed634 ("LU-9215 build: Re-add the lustre-devel package")
Signed-off-by: James Simmons <jsimmons@infradead.org>
Change-Id: I324fbaa0f5b03e2095b493f3d8e00b74ca64298a
Reviewed-on: https://review.whamcloud.com/41188
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre.spec.in