Add ODBC code and notes.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2009-09-24 19:01:55 +00:00
parent 0cc7ee9f5f
commit 3db1caabc9
2 changed files with 19 additions and 3 deletions

View File

@ -5,7 +5,7 @@
# - it puts everything in a aix-dep-snap subdirectory
#
# to upload deps gz file to FRS SourceForge location
# scp dep-aix-2.2-snap*.tar.gz nott@web.sourceforge.net:uploads/
#scp ./dep-aix-2.3-200909241259.tar.gz nott,xcat@web.sourceforge.net:/home/frs/project/x/xc/xcat/xcat-dep/2.x_AIX/
BLDTOP=`pwd`
RPMDIR=$BLDTOP/aix-dep-snap
@ -110,6 +110,9 @@ echo "rpm -Uvh net-snmp-devel-5.4.2.1-1.aix5.3.ppc.rpm" >> $RPMDIR/instoss
cp /opt/freeware/src/packages/RPMS/ppc/net-snmp-perl-5.4.2.1-1.aix5.3.ppc.rpm $RPMDIR/
echo "rpm -Uvh net-snmp-perl-5.4.2.1-1.aix5.3.ppc.rpm" >> $RPMDIR/instoss
cp /opt/freeware/src/packages/RPMS/ppc/unixODBC-2.2.15-32bit.aix5.3.ppc.rpm $RPMDIR/
echo "rpm -Uvh unixODBC-2.2.15-32bit.aix5.3.ppc.rpm" >> $RPMDIR/instoss
# get the OSS README file
cp ./../../../xcat-dep/trunk/AIX/README $RPMDIR/
@ -121,6 +124,9 @@ echo "instoss" >> $RPMDIR/flist
chmod 664 $RPMDIR/*
chmod +x $RPMDIR/instoss
chgrp xcat *
chmod g+w *
tar -cvf $RPMDIR/dep-aix-$VER-$SNAP.tar -L $RPMDIR/flist
gzip $RPMDIR/dep-aix-$VER-$SNAP.tar
@ -133,9 +139,18 @@ cp /opt/freeware/src/packages/RPMS/ppc/xcat-mysql-5.0-1.aix5.3.ppc.rpm $RPMDIR/
echo "rpm -Uvh xcat-mysql-5.0-1.aix5.3.ppc.rpm" >> $RPMDIR/instmysql
echo "xcat-mysql-5.0-1.aix5.3.ppc.rpm" >> $RPMDIR/flist2
cp /opt/freeware/src/packages/RPMS/ppc/xcat-mysql-connector-odbc-3.51-27.aix5.3.ppc.rpm $RPMDIR/
echo "rpm -Uvh xcat-mysql-connector-odbc-3.51-27.aix5.3.ppc.rpm" >> $RPMDIR/instmysql
echo "xcat-mysql-connector-odbc-3.51-27.aix5.3.ppc.rpm" >> $RPMDIR/flist2
chmod +x $RPMDIR/instmysql
echo "instmysql" >> $RPMDIR/flist2
echo "README" >> $RPMDIR/flist2
chgrp xcat *
chmod g+w *
tar -cvf $RPMDIR/xcat-mysql-$VER-$SNAP.tar -L $RPMDIR/flist2
gzip $RPMDIR/xcat-mysql-$VER-$SNAP.tar

View File

@ -119,8 +119,9 @@ if [ $UPLOAD == 1 ]; then
# scp *.rpm nott,xcat@web.sourceforge.net:/home/groups/x/xc/xcat/htdocs/aix/devel/xcat-core
#scp core-aix-2.3.tar.gz nott,xcat@web.sourceforge.net:/home/groups/x/xc/xcat/htdocs/aix/devel
# for dep-aix
#scp dep-aix-$VER.tar.gz nott@web.sourceforge.net:uploads/
# for dep-aix & mysql etc.
#scp ./dep-aix-2.3-200909241259.tar.gz nott,xcat@web.sourceforge.net:/home/frs/project/x/xc/xcat/xcat-dep/2.x_AIX/
fi