Whamcloud - gitweb
LU-16059 build: Installation of dkms server builds 12/48212/3
authorShaun Tancheff <shaun.tancheff@hpe.com>
Mon, 19 Sep 2022 16:42:09 +0000 (09:42 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 26 Sep 2022 16:57:28 +0000 (16:57 +0000)
commit320252bb6030d44dd7376e6da8db357883747114
tree191908629781bccbd9db7fbfeb86559cd6d1876e
parentfb30345251c48c36076badca8bc339686f064495
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.

Lustre-change: https://review.whamcloud.com/48083
Lustre-commit: c3dc67b2c5bf1974d792b3701d932bd04c756bd8

HPE-bug-id: LUS-11113
Test-Parameters: trivial
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Ic154ca045427bf26cb7e6a44b8c467675e987aad
Reviewed-on: https://review.whamcloud.com/48212
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Petros Koutoupis <petros.koutoupis@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
config/lustre-build-zfs.m4
lustre-dkms.spec.in
lustre-dkms_post-build.sh
lustre-dkms_pre-build.sh