[LU-11720] SRPM unnecessarily tied to kernel version Created: 29/Nov/18 Updated: 01/Apr/19 Resolved: 06/Feb/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.12.0, Lustre 2.10.5, Lustre 2.10.6 |
| Fix Version/s: | Lustre 2.13.0, Lustre 2.10.7, Lustre 2.12.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Nathaniel Clark | Assignee: | Nathaniel Clark |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Severity: | 3 | ||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||
| Description |
|
Source rpms (e.g. lustre-2.10.5-1.src.rpm) are tied to the kernel version they were originally built against by kmp-lustre.preamble. # rpm -i lustre-2.10.5-1.src.rpm
# cd rpmbuild/SOURCE
# cat kmp-lustre.preamble
Obsoletes: %{name}-modules < %{version}
Requires: kernel < 3.10.0-863, kernel >= 3.10.0-862
This prevents the rpm from being rebuild via rpmbuild --rebuild lustre-2.10.5-1.src.rpm on other el releases (e.g. el7.4). WORKAROUND
|
| Comments |
| Comment by Nathaniel Clark [ 29/Nov/18 ] |
|
This issue was created by
This issue is ONLY present when the source rpm is created via lbuild. Using make srpm results in an srpm without the offending Requires line, but one that may also fall victim to |
| Comment by Peter Jones [ 03/Dec/18 ] |
|
Nathaniel, can you please investigate? |
| Comment by Gerrit Updater [ 03/Dec/18 ] |
|
Nathaniel Clark (nclark@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33771 |
| Comment by Gerrit Updater [ 06/Feb/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33771/ |
| Comment by Peter Jones [ 06/Feb/19 ] |
|
Landed for 2.13 |
| Comment by Gerrit Updater [ 15/Feb/19 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34268 |
| Comment by Gerrit Updater [ 23/Feb/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34268/ |
| Comment by Gerrit Updater [ 25/Feb/19 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34310 |
| Comment by Gerrit Updater [ 01/Apr/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34310/ |