Fix some symlinking in the spec file

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@109 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2007-11-30 16:20:53 +00:00
parent ba8f6d4a37
commit bc25ec637f

View File

@ -40,44 +40,44 @@ chmod 755 $RPM_BUILD_ROOT/%{prefix}/sbin/*
#cp usr/share/xcat/scripts/setup-local-client.sh $RPM_BUILD_ROOT/usr/share/xcat/scripts/setup-local-client.sh
#chmod 755 $RPM_BUILD_ROOT/usr/share/xcat/scripts/setup-local-client.sh
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rpower
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rscan
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/sbin/makedhcp
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/sbin/makehosts
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/sbin/nodeset
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/sbin/makeconservercf
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rbeacon
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rvitals
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rinv
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rspreset
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rsetboot
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rbootseq
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/reventlog
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/nodels
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/nodech
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/noderm
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rnetboot
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/getmacs
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/mkvm
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rmvm
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/lsvm
ln -sf %{prefix}/bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/chvm
ln -sf %{prefix}/bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/sbin/tabdump
ln -sf %{prefix}/bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/sbin/makedns
ln -sf %{prefix}/bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/bin/gettab
ln -sf %{prefix}/bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/sbin/nodeadd
ln -sf %{prefix}/bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/sbin/makenetworks
ln -sf %{prefix}/bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/sbin/copycds
ln -sf %{prefix}/bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/bin/regnotif
ln -sf %{prefix}/bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/bin/unregnotif
ln -sf %{prefix}/bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/bin/startmon
ln -sf %{prefix}/bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/bin/stopmon
ln -sf %{prefix}/bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/bin/updatemon
ln -sf %{prefix}/bin/xcatDBcmds $RPM_BUILD_ROOT/%{prefix}/bin/mkdef
ln -sf %{prefix}/bin/xcatDBcmds $RPM_BUILD_ROOT/%{prefix}/bin/chdef
ln -sf %{prefix}/bin/xcatDBcmds $RPM_BUILD_ROOT/%{prefix}/bin/lsdef
ln -sf %{prefix}/bin/xcatDBcmds $RPM_BUILD_ROOT/%{prefix}/bin/rmdef
ln -sf %{prefix}/bin/xdsh $RPM_BUILD_ROOT/%{prefix}/bin/xdcp
ln -sf xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rpower
ln -sf xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rscan
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/sbin/makedhcp
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/sbin/makehosts
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/sbin/nodeset
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/sbin/makeconservercf
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rbeacon
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rvitals
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rinv
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rspreset
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rsetboot
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rbootseq
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/reventlog
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/nodels
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/nodech
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/noderm
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rnetboot
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/getmacs
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/mkvm
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/rmvm
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/lsvm
ln -sf ../bin/xcatclient $RPM_BUILD_ROOT/%{prefix}/bin/chvm
ln -sf ../bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/sbin/tabdump
ln -sf ../bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/sbin/makedns
ln -sf ../bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/bin/gettab
ln -sf ../bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/sbin/nodeadd
ln -sf ../bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/sbin/makenetworks
ln -sf ../bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/sbin/copycds
ln -sf ../bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/bin/regnotif
ln -sf ../bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/bin/unregnotif
ln -sf ../bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/bin/startmon
ln -sf ../bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/bin/stopmon
ln -sf ../bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/bin/updatemon
ln -sf ../bin/xcatDBcmds $RPM_BUILD_ROOT/%{prefix}/bin/mkdef
ln -sf ../bin/xcatDBcmds $RPM_BUILD_ROOT/%{prefix}/bin/chdef
ln -sf ../bin/xcatDBcmds $RPM_BUILD_ROOT/%{prefix}/bin/lsdef
ln -sf ../bin/xcatDBcmds $RPM_BUILD_ROOT/%{prefix}/bin/rmdef
ln -sf ../bin/xdsh $RPM_BUILD_ROOT/%{prefix}/bin/xdcp
%clean
rm -rf $RPM_BUILD_ROOT