From e852d0b26411cb149f5ec14f2026b7a8a23eec8a Mon Sep 17 00:00:00 2001 From: jjhua Date: Tue, 22 Oct 2013 10:45:41 -0400 Subject: [PATCH] changes for the command makeclouddata --- xCAT-OpenStack/xCAT-OpenStack.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-OpenStack/xCAT-OpenStack.spec b/xCAT-OpenStack/xCAT-OpenStack.spec index 55e492145..363a5935a 100644 --- a/xCAT-OpenStack/xCAT-OpenStack.spec +++ b/xCAT-OpenStack/xCAT-OpenStack.spec @@ -28,11 +28,15 @@ management. %install mkdir -p $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_schema +mkdir -p $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_plugin cp -a lib/perl/xCAT_schema/* $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_schema find $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_schema -type d -exec chmod 755 {} \; find $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_schema -type f -exec chmod 644 {} \; +cp -a lib/perl/xCAT_plugin/* $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_plugin + +ln -sf ../bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/sbin/makeclouddata %clean rm -rf $RPM_BUILD_ROOT