Whamcloud - gitweb
LU-13906 build: Conditionally require kmod-zfs-devel 56/46356/13
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 6 Oct 2023 08:03:09 +0000 (03:03 -0500)
committerOleg Drokin <green@whamcloud.com>
Sun, 4 Feb 2024 08:26:02 +0000 (08:26 +0000)
commit77d01c485e00468b2ef6e3eb64544d30c049a411
treedf206a23fb9d2d112b62b20dbc9e01de1bcf0f93
parent028ed64d90cfdeb908fb5574aacf2f71c259e2c2
LU-13906 build: Conditionally require kmod-zfs-devel

Server with zfs support requires either kmod-zfs-devel
or a configure that points to the required headers and
library files via configure.

Here we check the configure arguments for '--with-zfs-obj='
if the zfs path is specified for configure the package
requirement is not needed.

Otherwise require the kmod-zfs-devel package and require
one of libzfs-devel, libzfs4-devel or libzfs5-devel

HPE-bug-id: LUS-9743, LUS-10363
Test-Parameters: trivial
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Ia12239ac7e3912ff50ec7c8e2ceb888862afbc34
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/46356
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
lustre.spec.in
rpm/kmp-lustre-osd-zfs.preamble