Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-11720

SRPM unnecessarily tied to kernel version

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.12.0, Lustre 2.10.5, Lustre 2.10.6
    • Labels:
      None
    • 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

      1. Install source rpm
      2. Edit rpmbuild/SOURCE/kmp-lustre.preamble for correct kernel version
      3. build from spec: rpm -bb rpmbuild/SPEC/lustre.spec

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                utopiabound Nathaniel Clark
                Reporter:
                utopiabound Nathaniel Clark
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: