Whamcloud - gitweb
LU-16359 build: RHEL use Module.symvers during find-provides
authorShaun Tancheff <shaun.tancheff@hpe.com>
Tue, 31 Jan 2023 08:28:47 +0000 (00:28 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 16 Feb 2023 21:16:49 +0000 (21:16 +0000)
commit4ffc198f53a5e87d78c5e131ddb383a8879b02f6
tree6431a74502596e5d1ae7b824138e2f6e5190842f
parent46afd5b17eafdc0d5d20e11f4578d57bbf64ac01
LU-16359 build: RHEL use Module.symvers during find-provides

find-provides fails to find module versions on newer
kernels.

The generated Module.symvers is always generated and
correct. Install it to the well known location BUILDROOT
use it to generate provides and ignore it for installation.

Create a new find-provides and find-provides.ksyms for
lustre based on the one provided by the redhat-rpm-config
package using Module.symvers to supply the symbol versions
instead of extracting symbol versions from the .ko files.

Lustre-change: https://review.whamcloud.com/49302
Lustre-commit: bb951b90268bb013b55166e1c0bcae1c2a66b165

Test-Parameters: trivial
HPE-bug-id: LUS-11383
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I01c3b3692e6a2a6be86a6930eaead9df75147f90
Reviewed-by: Petros Koutoupis <petros.koutoupis@hpe.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/49836
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
.gitignore
lustre.spec.in
rpm/find-provides [new file with mode: 0755]
rpm/find-provides.ksyms [new file with mode: 0755]