From ac47f5460aa28d61829a80bae66dcac8f8a22239 Mon Sep 17 00:00:00 2001 From: Rob Hoes Date: Wed, 26 Jan 2011 17:39:04 +0000 Subject: [PATCH] Package v6d as a separate RPM Signed-off-by: Rob Hoes --- mk/Makefile | 1 + xapi.spec | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/mk/Makefile b/mk/Makefile index 732c3a31..3c43dc4a 100644 --- a/mk/Makefile +++ b/mk/Makefile @@ -78,6 +78,7 @@ $(OUTPUT_CLI_RT) $(OUTPUT_SDK): $(MY_MAIN_PACKAGES)/.dirstamp $(RPM_DIRECTORIES) 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 --git a/xapi.spec b/xapi.spec index ab622e20..96bcfae5 100644 --- a/xapi.spec +++ b/xapi.spec @@ -52,6 +52,14 @@ Group: System/Hypervisor %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 @@ rm -rf $RPM_BUILD_ROOT [ ! -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 @@ rm -rf $RPM_BUILD_ROOT /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 @@ rm -rf $RPM_BUILD_ROOT /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 @@ rm -rf $RPM_BUILD_ROOT /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,-) -- 2.39.5