update the spec file for chef-cookbooks

This commit is contained in:
jjhua 2013-11-12 15:43:00 -05:00
parent 93a98c256c
commit 55af05f8a3

View File

@ -34,6 +34,7 @@ mkdir -p $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_schema
mkdir -p $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_plugin
mkdir -p $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT
mkdir -p $RPM_BUILD_ROOT/install/postscripts
mkdir -p $RPM_BUILD_ROOT/install/chef-cookbooks
mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/xcat/templates
mkdir -p $RPM_BUILD_ROOT/%{prefix}/sbin
@ -71,6 +72,9 @@ chmod 644 $RPM_BUILD_ROOT/%{prefix}/share/doc/man7/*
cp -a postscripts/* $RPM_BUILD_ROOT/install/postscripts
chmod 755 $RPM_BUILD_ROOT/install/postscripts/*
cp -a chef-cookbooks/* $RPM_BUILD_ROOT/install/chef-cookbooks
chmod 644 $RPM_BUILD_ROOT/install/chef-cookbooks/*
cp -a templates/* $RPM_BUILD_ROOT/%{prefix}/share/xcat/templates
chmod 644 $RPM_BUILD_ROOT/%{prefix}/share/xcat/templates/*