update build dep script for new 6.1 rpms

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6734 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
bp-sawyers 2010-07-13 19:31:34 +00:00
parent 1c213897e2
commit c30dde3bcd

View File

@ -100,56 +100,57 @@ if [ "$PERLVER" == "v5.8.2" ]; then
else
OSVER='6.1'
fi
# Have to install rpms 1 at a time, since some are already installed.
# And have to install them in the correct order.
#for i in `ls $OSVER/*.rpm`; do
# rpm -Uvh $i
#done
cd $OSVER
rpm -Uvh perl-DBI-*.rpm
rpm -Uvh bash-*.rpm
rpm -Uvh perl-DBD-SQLite-*.rpm
# Have to install rpms 1 at a time, since some are already installed.
# The only interdependency between the dep rpms so far is that net-snmp requires bash
for i in `ls *.rpm|grep -v -E '^tcl-|^tk-|^expect-'`; do
rpm -Uvh $i
done
# don't try to install tcl, tk, or expect if they are already installed!
lslpp -l | grep expect.base > /dev/null 2>&1
if [ $? -gt 0 ]; then
if [ "$OSVER" == "6.1" ]; then
echo "The expect.base, tcl.base, and tk.base filesets must also be installed before installing the xCAT RPMs from xcat-core."
else
rpm -Uvh tcl-*.rpm
rpm -Uvh tk-*.rpm
rpm -Uvh expect-*.rpm
rpm -Uvh tcl-*.rpm
rpm -Uvh tk-*.rpm
rpm -Uvh expect-*.rpm
fi
fi
rpm -Uvh popt-*.rpm
rpm -Uvh rsync-*.rpm
rpm -Uvh wget-*.rpm
rpm -Uvh libxml2-*.rpm
rpm -Uvh curl-*.rpm
rpm -Uvh expat-*.rpm
rpm -Uvh conserver-*.rpm
rpm -Uvh perl-Expect-*.rpm
rpm -Uvh perl-IO-Tty-*.rpm
rpm -Uvh perl-IO-Stty-*.rpm
rpm -Uvh perl-IO-Socket-SSL-*.rpm
rpm -Uvh perl-Net_SSLeay.pm-*.rpm
rpm -Uvh perl-Digest-SHA1-*.rpm
rpm -Uvh perl-Digest-SHA-*.rpm
rpm -Uvh perl-Digest-HMAC-*.rpm
rpm -Uvh --nodeps perl-Net-DNS-*.rpm
rpm -Uvh perl-Net-IP-*.rpm
rpm -Uvh perl-Digest-MD5-*.rpm
rpm -Uvh fping-*.rpm
rpm -Uvh openslp-xcat-*.rpm
rpm -Uvh perl-Crypt-SSLeay-*.rpm
rpm -Uvh perl-Net-Telnet-*.rpm
# this is left over from Norms original instoss
#rpm -Uvh perl-DBI-*.rpm
#rpm -Uvh bash-*.rpm
#rpm -Uvh perl-DBD-SQLite-*.rpm
#rpm -Uvh popt-*.rpm
#rpm -Uvh rsync-*.rpm
#rpm -Uvh wget-*.rpm
#rpm -Uvh libxml2-*.rpm
#rpm -Uvh curl-*.rpm
#rpm -Uvh expat-*.rpm
#rpm -Uvh conserver-*.rpm
#rpm -Uvh perl-Expect-*.rpm
#rpm -Uvh perl-IO-Tty-*.rpm
#pm -Uvh perl-IO-Stty-*.rpm
#rpm -Uvh perl-IO-Socket-SSL-*.rpm
#rpm -Uvh perl-Net_SSLeay.pm-*.rpm
#rpm -Uvh perl-Digest-SHA1-*.rpm
#rpm -Uvh perl-Digest-SHA-*.rpm
#rpm -Uvh perl-Digest-HMAC-*.rpm
#rpm -Uvh --nodeps perl-Net-DNS-*.rpm
#rpm -Uvh perl-Net-IP-*.rpm
#rpm -Uvh perl-Digest-MD5-*.rpm
#rpm -Uvh fping-*.rpm
#rpm -Uvh openslp-xcat-*.rpm
#rpm -Uvh perl-Crypt-SSLeay-*.rpm
#rpm -Uvh perl-Net-Telnet-*.rpm
# this requires bash
rpm -Uvh net-snmp-5*.rpm
rpm -Uvh net-snmp-devel-*.rpm
rpm -Uvh net-snmp-perl-*.rpm
rpm -Uvh unixODBC-*.rpm
if [ "$OSVER" == "6.1" ]; then
rpm -Uvh perl-version-*.rpm
fi
#rpm -Uvh net-snmp-5*.rpm
#rpm -Uvh net-snmp-devel-*.rpm
#rpm -Uvh net-snmp-perl-*.rpm
#rpm -Uvh unixODBC-*.rpm
#if [ "$OSVER" == "6.1" ]; then
# rpm -Uvh perl-version-*.rpm
#fi
EOF
chmod +x instoss