WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

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

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 06 of 17] Package v6d as a separate RPM
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1294419463@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1294419463@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.6.3
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