Details
-
Bug
-
Resolution: Fixed
-
Major
-
Lustre 2.12.0, Lustre 2.10.5, Lustre 2.10.6
-
None
-
3
-
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
- Install source rpm
- Edit rpmbuild/SOURCE/kmp-lustre.preamble for correct kernel version
- build from spec: rpm -bb rpmbuild/SPEC/lustre.spec
Attachments
Issue Links
Activity
Labels | Original: LTS12 |
Fix Version/s | New: Lustre 2.12.1 [ 14406 ] |
Fix Version/s | New: Lustre 2.10.7 [ 14401 ] |
Labels | Original: LTS LTS12 | New: LTS12 |
Fix Version/s | New: Lustre 2.13.0 [ 14290 ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34310/
Subject:
LU-11720spec: srpm should be free of kernel requiementsProject: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 544beec0e32528ccc6332d503d8e5593e1201a09