First pass at masking stock init script from FSM

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-08-08 21:03:25 +00:00
parent 07b89a8df3
commit 887266cc70

View File

@ -270,8 +270,12 @@ rm $RPM_BUILD_ROOT/%{prefix}/sbin/xcat_traphandler
cp lib/xcat/shfunctions $RPM_BUILD_ROOT/%{prefix}/lib
chmod 644 $RPM_BUILD_ROOT/%{prefix}/lib/shfunctions
%if %fsm
%else
echo "ScriptAlias /xcatws %{prefix}/ws/xcatws.cgi" > $RPM_BUILD_ROOT/etc/apache2/conf.d/xcat-ws.conf
mkdir -p $RPM_BUILD_ROOT/etc/init.d
cp etc/init.d/xcatd $RPM_BUILD_ROOT/etc/init.d
%endif
#TODO: the next has to me moved to postscript, to detect /etc/xcat vs /etc/opt/xcat
mkdir -p $RPM_BUILD_ROOT/etc/xcat
cp etc/xcat/postscripts.rules $RPM_BUILD_ROOT/etc/xcat/
@ -305,9 +309,9 @@ rm -rf $RPM_BUILD_ROOT
#%doc LICENSE.html
%{prefix}
/etc/xcat
/etc/init.d/xcatd
%if %fsm
%else
/etc/init.d/xcatd
/etc/apache2/conf.d/xcat-ws.conf
/etc/httpd/conf.d/xcat-ws.conf
%endif