lustre build system improvments (LU-3953)

[LU-5919] "make rpm" should build from the .src.rpm product of the "make srpm" target Created: 13/Nov/14  Updated: 05/May/16  Resolved: 25/May/15

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.8.0

Type: Technical task Priority: Minor
Reporter: Christopher Morrone Assignee: Dmitry Eremin (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-6697 build SRPM target should not depend f... Resolved
Rank (Obsolete): 16525

 Description   

The "make rpm" Make target should really use the .src.rpm file that is built under the "make srpm" Make target rather than building its own redundant .src.rpm.

In addition to avoiding a bit of redundancy in the build system, building from the .src.rpm as part of the normal rpm build process would help to ensure that the .src.rpm file remains rebuildable (historically a recurring problem for the lustre build system).



 Comments   
Comment by Christopher Morrone [ 13/Nov/14 ]

I pushed a copy of the patch that LLNL uses to accomplish this on out 2.5.3-llnl branch (see github.com/chaos/lustre):

http://review.whamcloud.com/12712

Granted this patch is based against b2_5. I probably won't have time to make a version for master until sometime after SC'14.

Comment by Peter Jones [ 14/Nov/14 ]

Dmitry

Could you please review this patch and see how this could be applied to master?

Thanks

Peter

Comment by Gerrit Updater [ 05/Dec/14 ]

Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: http://review.whamcloud.com/12961
Subject: LU-5919 build: Make "make rpms" use "make srpm" output
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c57a03ddd5c1f580d86e3160774d5eb13b8cef46

Comment by Gerrit Updater [ 25/May/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12961/
Subject: LU-5919 build: Make "make rpms" use "make srpm" output
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a71ab04971382c77f708d6a082e8ee2fa845e9be

Comment by Peter Jones [ 25/May/15 ]

Landed for 2.8

Generated at Sat Feb 10 01:55:39 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.