]> xenbits.xensource.com Git - xcp/xen-api.git/commitdiff
In the xapi RPM post-install actions, use 'chkconfig --add' rather than 'chkconfig...
authorDavid Scott <dave.scott@eu.citrix.com>
Fri, 18 Jun 2010 19:54:26 +0000 (20:54 +0100)
committerDavid Scott <dave.scott@eu.citrix.com>
Fri, 18 Jun 2010 19:54:26 +0000 (20:54 +0100)
(Thanks to James Bulpin for figuring out what was going on :-)

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
xapi.spec

index 2f7331f3caff2c634b41742c15a7a467bd86ef1d..7691fa345aada6a368093216f28d333914aa7346 100644 (file)
--- a/xapi.spec
+++ b/xapi.spec
@@ -100,12 +100,12 @@ DESTDIR=$RPM_BUILD_ROOT %{__make} sdk-install
 rm -rf $RPM_BUILD_ROOT
 
 %post core
-[ ! -x /sbin/chkconfig ] || chkconfig xapi on
-[ ! -x /sbin/chkconfig ] || chkconfig management-interface on
-[ ! -x /sbin/chkconfig ] || chkconfig xenservices on
-[ ! -x /sbin/chkconfig ] || chkconfig xapi-domains on
-[ ! -x /sbin/chkconfig ] || chkconfig perfmon on
-[ ! -x /sbin/chkconfig ] || chkconfig v6d on
+[ ! -x /sbin/chkconfig ] || chkconfig --add xapi
+[ ! -x /sbin/chkconfig ] || chkconfig --add management-interface
+[ ! -x /sbin/chkconfig ] || chkconfig --add xenservices
+[ ! -x /sbin/chkconfig ] || chkconfig --add xapi-domains
+[ ! -x /sbin/chkconfig ] || chkconfig --add perfmon
+[ ! -x /sbin/chkconfig ] || chkconfig --add v6d
 
 %post squeezed
 [ ! -x /sbin/chkconfig ] || chkconfig squeezed on