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