From 941bee58efb09cc6ea6dc1fa94448d260f3f927f Mon Sep 17 00:00:00 2001 From: nott Date: Wed, 23 Jan 2008 18:02:17 +0000 Subject: [PATCH] Added the copying of xcat.conf for the AIX case. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@322 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/mkrpm | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/xCAT/mkrpm b/xCAT/mkrpm index f097af7fe..84b6d6b46 100755 --- a/xCAT/mkrpm +++ b/xCAT/mkrpm @@ -5,17 +5,24 @@ OSNAME=$(uname) if [ "$OSNAME" = "AIX" ] then - cd `dirname $0` - echo '.svn' > /tmp/xcat-excludes + cd `dirname $0` + echo '.svn' > /tmp/xcat-excludes + tar -X /tmp/xcat-excludes -cvf /opt/freeware/src/packages/SOURCES/postscripts.tar postscripts LICENSE.html gzip /opt/freeware/src/packages/SOURCES/postscripts.tar + tar -X /tmp/xcat-excludes -cvf /opt/freeware/src/packages/SOURCES/templates.tar templates gzip /opt/freeware/src/packages/SOURCES/templates.tar - #cd ./xCAT-server-2.0 + + cp xcat.conf /opt/freeware/src/packages/SOURCES + rm -f /opt/freeware/src/packages/SRPMS/xCAT-2.0*rpm /opt/freeware/src/packages/RPMS/ppc/xCAT-2.0*rpm + rpm -ba xCAT.spec + + # don't install #rpm -Uvh /opt/freeware/src/packages/RPMS/ppc/xCAT-2.0*rpm - cd - + cd - else