From 55df34434477091f055e6472874fb7379252292b Mon Sep 17 00:00:00 2001 From: nott Date: Sat, 7 Mar 2009 16:05:34 +0000 Subject: [PATCH] Add bundle files to AIX dependency package git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2850 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- mkAIXdeps | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/mkAIXdeps b/mkAIXdeps index 2fcda08c9..ab285bff6 100755 --- a/mkAIXdeps +++ b/mkAIXdeps @@ -1,5 +1,9 @@ #!/bin/sh +# This script packages the AIX RPM dependencies +# - it should be run in the ../xcat/xcat-core/trunk directory +# - it puts everything in a aix-dep-snap subdirectory + BLDTOP=`pwd` RPMDIR=$BLDTOP/aix-dep-snap VER=`cat $BLDTOP/Version` @@ -11,6 +15,7 @@ then rm -f $RPMDIR/instmysql rm -f $RPMDIR/README rm -f $RPMDIR/*.rpm + rm -f $RPMDIR/*.bnd rm -f $RPMDIR/flist rm -f $RPMDIR/flist2 rm -f $RPMDIR/*.gz @@ -73,12 +78,19 @@ echo "rpm -Uvh perl-Crypt-SSLeay-0.57-1.aix5.3.ppc.rpm" >> $RPMDIR/instoss # get the OSS README file cp ./../../../xcat-dep/trunk/AIX/README $RPMDIR/ +# add the bundle files to the dep packages +cp $BLDTOP/xCATaixSN.bnd $RPMDIR/ +cp $BLDTOP/xCATaixSSH.bnd $RPMDIR/ +cp $BLDTOP/xCATaixSSL.bnd $RPMDIR/ + # make the default required RPM tar.gz file -#ls $RPMDIR/*.rpm > $RPMDIR/flist ls *.rpm > $RPMDIR/flist chmod +x $RPMDIR/instoss echo "README" >> $RPMDIR/flist echo "instoss" >> $RPMDIR/flist +echo "xCATaixSN.bnd" >> $RPMDIR/flist +echo "xCATaixSSH.bnd" >> $RPMDIR/flist +echo "xCATaixSSL.bnd" >> $RPMDIR/flist tar -cvf $RPMDIR/dep-aix-$VER.tar -L $RPMDIR/flist gzip $RPMDIR/dep-aix-$VER.tar