From 7f6bca9788bb42c6ed888f91bcf20493b3a5ffae Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 16 Apr 2008 21:15:13 +0000 Subject: [PATCH] Copy bin to get replaycons installed in the spec file git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1109 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/xCAT-server.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xCAT-server-2.0/xCAT-server.spec b/xCAT-server-2.0/xCAT-server.spec index 322640d35..a1f045b89 100644 --- a/xCAT-server-2.0/xCAT-server.spec +++ b/xCAT-server-2.0/xCAT-server.spec @@ -32,6 +32,7 @@ xCAT-server provides the core server and configuration management components of %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{prefix}/sbin +mkdir -p $RPM_BUILD_ROOT/%{prefix}/bin #mkdir -p $RPM_BUILD_ROOT/%{prefix}/rc.d mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/xcat/install mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/xcat/netboot @@ -55,9 +56,13 @@ cp -hpR share/xcat/netboot/* $RPM_BUILD_ROOT/%{prefix}/share/xcat/netboot/ %ifos linux cp -d sbin/* $RPM_BUILD_ROOT/%{prefix}/sbin chmod 755 $RPM_BUILD_ROOT/%{prefix}/sbin/* +cp -d bin/* $RPM_BUILD_ROOT/%{prefix}/bin +chmod 755 $RPM_BUILD_ROOT/%{prefix}/bin/* %else cp -h sbin/* $RPM_BUILD_ROOT/%{prefix}/sbin chmod -h 755 $RPM_BUILD_ROOT/%{prefix}/sbin/* +cp -h bin/* $RPM_BUILD_ROOT/%{prefix}/bin +chmod -h 755 $RPM_BUILD_ROOT/%{prefix}/bin/* %endif #cp rc.d/* $RPM_BUILD_ROOT/%{prefix}/rc.d