Whamcloud - gitweb
LU-18254 dkms: optional support for weak-modules 52/56452/11
authorShaun Tancheff <shaun.tancheff@hpe.com>
Thu, 3 Apr 2025 07:26:16 +0000 (14:26 +0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Jul 2025 03:55:05 +0000 (03:55 +0000)
commit98af2eaf78fb701e735bb5d828600bc5ccdf745c
tree4e54387abe6565d9d997989bc17c6ce35ba37602
parent509a3f560a16f9d3643667d89843faec5c054428
LU-18254 dkms: optional support for weak-modules

Conditionally support weak modules by setting:
   LUSTRE_DKMS_NO_WEAK_MODULES=no
in /etc/sysconfig/dkms-lustre before installing the dkms
package.

Duplicate the o2ib and kfi detection from lustre-dkms_pre-build.sh
into dkms.mkconf and dkms.conf.in for rpm and deb packaging

Test-Parameters: trivial clientextra_install_params="--dkms" \
  serverextra_install_params="--dkms" testgroup=full-dkms

Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I09502ad4a2e4930694725cf00b847ecacc4ca043
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56452
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
debian/dkms.conf.in
lustre-dkms.spec.in
lustre-dkms_pre-build.sh
lustre.spec.in
lustre/conf/Makefile.am
lustre/conf/dkms-lustre [new file with mode: 0644]
lustre/scripts/dkms.mkconf