[LU-12190] how to apply patchs to rpm based package Created: 16/Apr/19 Updated: 01/Aug/23 Resolved: 01/Aug/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question/Request | Priority: | Minor |
| Reporter: | Xiao Zhenggang | Assignee: | WC Triage |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
We have installed lustre 2.10.5 on CentOS 7.5,recently we met some problems already resolved in new release,so we want to update our lustre to 2.10.7. But I found some bug report for 2.10.7 and the patch released,So, I want to patch it but I do not know how to. Is there any docs described how to apply patchs to a rpm based install of lustre ? |
| Comments |
| Comment by Andreas Dilger [ 01/Aug/23 ] |
|
There is no mechanism in the Lustre build system to bundle patches into the SRPM and then apply them during the build stage. Instead, what most sites do that build their own Lustre RPMs is to check out the upstream sources from Gerrit into a local repository (or fork the "lustre/lustre-release" package on GitHub), check out the proper branch, and then apply the required patches to the local Git repo. Then the RPMs can be built from the tip of the git repo (with a suitable local version to distinguish this from upstream versions). |