Whamcloud - gitweb
LU-16059 build: Installation of dkms server builds 83/48083/6
authorShaun Tancheff <shaun.tancheff@hpe.com>
Wed, 24 Aug 2022 14:22:58 +0000 (21:22 +0700)
committerJian Yu <yujian@whamcloud.com>
Wed, 7 Sep 2022 06:46:35 +0000 (06:46 +0000)
commitc3dc67b2c5bf1974d792b3701d932bd04c756bd8
tree77b6bac1b240b99329980ca2f69e149507ff5b98
parentb843e8f89fe9b697ceec4657dde445aa60c200d0
LU-16059 build: Installation of dkms server builds

The linux-zfs-dkms package is passing the wrong paths
for zfs [and spl] causing the dkms build to fail.

ZFS_VERSION is not parsed correctly from 'dkms status'.

The splver and zfsver check can match against the wrong
package(s).

lustre-zfs-dkms provides: kmod-lustre-osd-zfs, and
                          lustre-osd-zfs-mount
lustre-ldiskfs-dkms provides: kmod-lustre-osd-ldiskfs and
                              lustre-osd-ldiskfs-mount

In the case of multiple zfs versions installed, build lustre
osd against the highest version number.

HPE-bug-id: LUS-11113
Test-Parameters: trivial
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Ic154ca045427bf26cb7e6a44b8c467675e987aad
config/lustre-build-zfs.m4
lustre-dkms.spec.in
lustre-dkms_post-build.sh
lustre-dkms_pre-build.sh