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
This commit is contained in:
nott 2009-03-07 16:05:34 +00:00
parent 2c3293d1bb
commit 55df344344

View File

@ -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