Whamcloud - gitweb
LU-16359 build: RHEL use Module.symvers during find-provides 02/49302/4
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 2 Dec 2022 14:46:19 +0000 (08:46 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 13 Dec 2022 16:10:16 +0000 (16:10 +0000)
commitbb951b90268bb013b55166e1c0bcae1c2a66b165
treeba4432eff60fe35c5c6b7b14068bcc773bee460f
parentb455b42fa8752bb3fbac9b2501e2092ec66b3958
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.

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