[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [PATCH 06 of 17] Package v6d as a separate RPM


  • To: xen-api@xxxxxxxxxxxxxxxxxxx
  • From: Rob Hoes <rob.hoes@xxxxxxxxxx>
  • Date: Fri, 7 Jan 2011 16:57:49 +0000
  • Delivery-date: Fri, 07 Jan 2011 09:03:30 -0800
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

Signed-off-by: Rob Hoes <rob.hoes@xxxxxxxxxx>


# HG changeset patch
# User Rob Hoes <rob.hoes@xxxxxxxxxx>
# Date 1294419411 0
# Node ID 45846a18c152faebd679a35c03bd730e0c4c4af8
# Parent  eb276f271743f4f7220ecb5d4a5e6e6819fea4b9
Package v6d as a separate RPM

Signed-off-by: Rob Hoes <rob.hoes@xxxxxxxxxx>

diff -r eb276f271743 -r 45846a18c152 mk/Makefile
--- a/mk/Makefile
+++ b/mk/Makefile
@@ -78,6 +78,7 @@
        cp $(RPM_RPMSDIR)/$(DOMAIN0_ARCH_OPTIMIZED)/xapi-www-*.rpm 
$(MY_MAIN_PACKAGES)
        cp $(RPM_RPMSDIR)/$(DOMAIN0_ARCH_OPTIMIZED)/xapi-xe-*.rpm 
$(MY_MAIN_PACKAGES)
        cp $(RPM_RPMSDIR)/$(DOMAIN0_ARCH_OPTIMIZED)/xapi-xenops-*.rpm 
$(MY_MAIN_PACKAGES)
+       test -z $(INSTALL_XCP_V6D) || cp 
$(RPM_RPMSDIR)/$(DOMAIN0_ARCH_OPTIMIZED)/xapi-v6d-*.rpm $(MY_MAIN_PACKAGES)
 
 .PHONY: clean
 clean:
diff -r eb276f271743 -r 45846a18c152 xapi.spec
--- a/xapi.spec
+++ b/xapi.spec
@@ -52,6 +52,14 @@
 %description squeezed
 This package contains the Xen virtual firmware (hvmloader)
 
+%package v6d
+Summary: The editions and features daemon
+Group: System/Hypervisor
+
+%description v6d
+This package contains daemon that defines and controls XCP editions and
+associated features
+
 %package xenops
 Summary: Low-level debugging tools
 Group: System/Hypervisor
@@ -105,12 +113,14 @@
 [ ! -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
 [ ! -x /sbin/chkconfig ] || chkconfig --add genptoken
 
 %post squeezed
 [ ! -x /sbin/chkconfig ] || chkconfig squeezed on
 
+%post v6d
+[ ! -x /sbin/chkconfig ] || chkconfig --add v6d
+
 %files core
 %defattr(-,root,root,-)
 /opt/xensource/bin/xapi
@@ -120,7 +130,6 @@
 /etc/pam.d/xapi
 /etc/rc.d/init.d/management-interface
 /etc/rc.d/init.d/perfmon
-/etc/rc.d/init.d/v6d
 /etc/rc.d/init.d/xapi
 /etc/rc.d/init.d/xapi-domains
 /etc/rc.d/init.d/xapissl
@@ -237,7 +246,6 @@
 /opt/xensource/libexec/sparse_dd
 /opt/xensource/libexec/update-mh-info
 /opt/xensource/libexec/upload-wrapper
-/opt/xensource/libexec/v6d
 /opt/xensource/libexec/vncterm-wrapper
 /opt/xensource/libexec/xapi-health-check
 /opt/xensource/libexec/xapi-rolling-upgrade
@@ -274,6 +282,10 @@
 /etc/rc.d/init.d/squeezed
 /opt/xensource/bin/squeezed_client
 
+%files v6d
+%defattr(-,root,root,-)
+/opt/xensource/libexec/v6d
+/etc/rc.d/init.d/v6d
 
 %files xenops
 %defattr(-,root,root,-)

Attachment: xen-api.hg-06.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.