Details

    • Technical task
    • Resolution: Fixed
    • Minor
    • Lustre 2.5.0
    • Lustre 2.5.0
    • None
    • 8716

    Description

      We should really eliminate all of lustre spec file's non-standard use of build_* macros (e.g. build_lustre_osd_ldiskfs) and replace them with rpmbuild's standard -with/-without mechanisms. In fact that goes for any and all binary options we use in the spec file.

      If we use the standard mechanisms for this stuff, our rpmbuild command line becomes much cleaner. For instance, this:

      rpmbuild --define "build_lustre_osd_ldiskfs 1"

      would become

      rpmbuild --with ldiskfs

      And skipping the build of the server components changes from:

      rpmbuild --define "lustre_name lustre-client"

      to

      rpmbuild --without server

      Attachments

        Issue Links

          Activity

            [LU-3476] Eliminate bad macros in lustre spec file
            mdiep Minh Diep added a comment - patch http://review.whamcloud.com/#/c/6856/
            pjones Peter Jones added a comment -

            Minh

            Could you please look into this one?

            Thanks

            Peter

            pjones Peter Jones added a comment - Minh Could you please look into this one? Thanks Peter

            People

              mdiep Minh Diep
              morrone Christopher Morrone (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: