HPC integration - fixed LL pkglist and install script

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mellor 2010-04-05 04:41:51 +00:00
parent 506e930cd5
commit 55c4b9af40
6 changed files with 22 additions and 14 deletions

View File

@ -58,15 +58,18 @@ chroot $installroot chkconfig atd on
chroot $installroot chkconfig xinetd on
# Modify some ulimits
if [ ! -f $installroot/etc/sysconfig/ulimit ]; then
cp -p /etc/sysconfig/ulimit $installroot/ect/sysconfig
fi
if [ ! -f $installroot/etc/sysconfig/ulimit.XCAT_BAK ]; then
cp -p $installroot/etc/sysconfig/ulimit $installroot/etc/sysconfig/ulimit.XCAT_BAK
fi
if [ -f $installroot/etc/sysconfig/ulimit ]; then
# max locked memory
/usr/bin/sed -i 's/HARDLOCKLIMIT=.*/HARDLOCKLIMIT="unlimited"/g' $installroot/etc/sysconfig/ulimit
/usr/bin/sed -i 's/SOFTLOCKLIMIT=.*/SOFTLOCKLIMIT="unlimited"/g' $installroot/etc/sysconfig/ulimit
# max memory size
/usr/bin/sed -i 's/HARDRESIDENTLIMIT=.*/HARDRESIDENTLIMIT="unlimited"/g' $installroot/etc/sysconfig/ulimit
/usr/bin/sed -i 's/SOFTRESIDENTLIMIT=.*/SOFTRESIDENTLIMIT="unlimited"/g' $installroot/etc/sysconfig/ulimit
cp -p $installroot/etc/sysconfig/ulimit $installroot/etc/sysconfig/ulimit.XCAT_BAK
fi
# max locked memory
/usr/bin/sed -i 's/HARDLOCKLIMIT=.*/HARDLOCKLIMIT="unlimited"/g' $installroot/etc/sysconfig/ulimit
/usr/bin/sed -i 's/SOFTLOCKLIMIT=.*/SOFTLOCKLIMIT="unlimited"/g' $installroot/etc/sysconfig/ulimit
# max memory size
/usr/bin/sed -i 's/HARDRESIDENTLIMIT=.*/HARDRESIDENTLIMIT="unlimited"/g' $installroot/etc/sysconfig/ulimit
/usr/bin/sed -i 's/SOFTRESIDENTLIMIT=.*/SOFTRESIDENTLIMIT="unlimited"/g' $installroot/etc/sysconfig/ulimit

View File

@ -35,7 +35,9 @@ xorg-x11-libXp-32bit
xorg-x11-libXau-32bit
xorg-x11-libXext-32bit
xorg-x11-libxcb-32bit
xorg-x11-libXmu
xorg-x11-libXmu-32bit
xorg-x11-libs
xorg-x11-libs-32bit
xorg-x11-libX11
xorg-x11-libXext

View File

@ -6,4 +6,4 @@
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl.sles11.ppc64.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl.otherpkgs.pkglist#

View File

@ -0,0 +1 @@
loadl/LoadL-full-license-*

View File

@ -1 +0,0 @@
loadl/LoadL-full-license-SLES11-PPC64

View File

@ -45,8 +45,10 @@ if [ $OS != "AIX" ]; then
mkdir $installroot/$tmpdir
cp -p $LOADL_DIR/* $installroot/$tmpdir
# The license rpm should already be installed, but just in case...
rpm --root $installroot rpm -Uvh $installroot/$tmpdir/LoadL-full-license*.rpm
rpm --root $installroot -Uvh $installroot/$tmpdir/LoadL-full-license*.rpm
chroot $installroot mount -t proc none /proc
chroot $installroot $linux_loadl_license_script -y -d /$tmpdir
umount -l $installroot/proc
rm -rf $installroot/$tmpdir
mkdir $installroot/dev/cpuset
@ -107,6 +109,7 @@ chmod 777 $installroot$logdir/core
# Owner set to 'loadl' userid, change if using a different userid
chown -R loadl:loadl $installroot$logdir/
cp /etc/LoadL.cfg $installroot/etc/LoadL.cfg
if [ -f /etc/LoadL.cfg ] ; then
cp /etc/LoadL.cfg $installroot/etc/LoadL.cfg
fi