added new files to IBMhpc rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
d74030d49b
commit
b8ae4c2359
@ -36,11 +36,21 @@ xCAT-IBMhpc provides sample installation and configuration scripts for running t
|
||||
%build
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/xcat/IBMhpc/compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/xcat/IBMhpc/essl
|
||||
mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/xcat/IBMhpc/gpfs
|
||||
mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/xcat/IBMhpc/loadl
|
||||
mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/xcat/IBMhpc/pe
|
||||
|
||||
set +x
|
||||
cp share/xcat/IBMhpc/gpfs/* $RPM_BUILD_ROOT/%{prefix}/share/xcat/IBMhpc/gpfs/
|
||||
chmod 755 $RPM_BUILD_ROOT/%{prefix}/share/xcat/IBMhpc/gpfs/*
|
||||
|
||||
%ifos linux
|
||||
cp -a share/xcat/IBMhpc/* $RPM_BUILD_ROOT/%{prefix}/share/xcat/IBMhpc/
|
||||
chmod -R 755 $RPM_BUILD_ROOT/%{prefix}/share/xcat/IBMhpc/*
|
||||
%else
|
||||
cp -hpR share/xcat/IBMhpc/* $RPM_BUILD_ROOT/%{prefix}/share/xcat/IBMhpc/
|
||||
chmod -R 755 $RPM_BUILD_ROOT/%{prefix}/share/xcat/IBMhpc/*
|
||||
%endif
|
||||
|
||||
set -x
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user