[LU-12899] Make Lustre build report the required package: kernel-rpm-macros Created: 23/Oct/19  Updated: 03/Nov/23  Resolved: 15/Dec/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.14.0, Lustre 2.12.4

Type: Improvement Priority: Minor
Reporter: Qian Yingjin Assignee: Qian Yingjin
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocker
is blocking LU-12637 Support RHEL 8.1 Resolved
Related
Rank (Obsolete): 9223372036854775807

 Description   

On RHEL8 kmodtool and kernel_module_package_buildreqs are not installed with kernel-devel.

kernel_module_package_buildreqs is defined in kernel-rpm-marcos.

If kernel-rpm-macros is not installed, the Lustre RPM build will report:

Dependency tokens must begin with alpha-numeric, '_' or '/': BuildRequires: %kernel_module_package_buildreqs

We should patch the lustre.spec.in to help the developer understanding the detailed information for the required package when kernel-rpm-macros is not installed. 

 



 Comments   
Comment by Gerrit Updater [ 23/Oct/19 ]

Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/36557
Subject: LU-12899 build: rhel8 not install kernel-rpm-macros
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 8a99d36ad05def35f408d9ca0d06fb205758254e

Comment by Gerrit Updater [ 14/Dec/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36557/
Subject: LU-12899 build: rhel8 not install kernel-rpm-macros
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 037840fb6b86d6083d55f3da5ad70d19d34cc5a5

Comment by Peter Jones [ 15/Dec/19 ]

Landed for 2.14

Comment by Gerrit Updater [ 16/Dec/19 ]

Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37039
Subject: LU-12899 build: rhel8 not install kernel-rpm-macros
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: 79f9e369bfb7d074d11a16f21b28ba3f3e74602f

Comment by Gerrit Updater [ 20/Dec/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37039/
Subject: LU-12899 build: rhel8 not install kernel-rpm-macros
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 91aa340146fb450979422f9faf931e51fa2f0322

Generated at Sat Feb 10 02:56:37 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.