IIRC, that is so, when you install the lustre server package, it also covers the dependency on lustre-client that other packages may have.  If you look further down in the spec file, you see that:

%if %{with servers}
Requires: lustre-osd
Requires: lustre-osd-mount
Provides: lustre-client = %{version}-%{fullrelease}
%endif


Brian Andrus

On 8/9/2018 5:51 PM, Faaland, Olaf P. wrote:
Hi,

What is the reason for naming the package "lustre" if it includes both client and server 
binaries, but "lustre-client" if it includes only the client?

===== (from
# Set the package name prefix
%if %{undefined lustre_name}
     %if %{with servers}
         %global lustre_name lustre
     %else
         %global lustre_name lustre-client
     %endif
%endif
=====

Are there sites that build both with and without servers, and need to keep 
track which is installed on a given machine?  The size of the RPMs isn't that 
different, so it's not obvious to me why one would do that.

thanks,

Olaf P. Faaland
Livermore Computing
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to