Details
-
Technical task
-
Resolution: Fixed
-
Minor
-
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
- is duplicated by
-
LU-3960 Eliminate bad macros in lustre spec file
- Closed