From c4223de95801538cea82f219e9a5ca1af025b50b Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 3 Jul 2014 17:49:13 -0500 Subject: [PATCH] xCAT-genesis-scripts spec to work for both x86_64 and ppc64 --- xCAT-genesis-scripts/xCAT-genesis-scripts.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) mode change 100644 => 100755 xCAT-genesis-scripts/xCAT-genesis-scripts.spec diff --git a/xCAT-genesis-scripts/xCAT-genesis-scripts.spec b/xCAT-genesis-scripts/xCAT-genesis-scripts.spec old mode 100644 new mode 100755 index dd86dcb87..1b0db1fd3 --- a/xCAT-genesis-scripts/xCAT-genesis-scripts.spec +++ b/xCAT-genesis-scripts/xCAT-genesis-scripts.spec @@ -48,10 +48,10 @@ rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT cd $RPM_BUILD_ROOT tar jxf %{SOURCE1} -mkdir -p opt/xcat/share/xcat/netboot/genesis/x86_64/ -mv xCAT-genesis-scripts opt/xcat/share/xcat/netboot/genesis/x86_64/fs -rm opt/xcat/share/xcat/netboot/genesis/x86_64/fs/*.spec -rm opt/xcat/share/xcat/netboot/genesis/x86_64/fs/LICENSE.html +mkdir -p opt/xcat/share/xcat/netboot/genesis/%{tarch}/ +mv xCAT-genesis-scripts opt/xcat/share/xcat/netboot/genesis/%{tarch}/fs +rm opt/xcat/share/xcat/netboot/genesis/%{tarch}/fs/*.spec +rm opt/xcat/share/xcat/netboot/genesis/%{tarch}/fs/LICENSE.html cd - @@ -73,4 +73,4 @@ touch /etc/xcat/genesis-scripts-updated %Files %defattr(-,root,root) -/opt/xcat/share/xcat/netboot/genesis/x86_64/fs +/opt/xcat/share/xcat/netboot/genesis/%{tarch}/fs