Fixing bug 3532416 and 3532496. Handle them by code instead of document.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13015 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2012-06-06 15:35:57 +00:00
parent 5579e698ee
commit b06ae22ded
2 changed files with 17 additions and 6 deletions

View File

@ -29,7 +29,7 @@ if [ $OS != "AIX" ]; then
#if [ -n "`ls xlmass.lib-6.1.0*.rpm 2> /dev/null`" ] ; then
# rpm -ivh --oldpackage xlmass.lib-6.1.0*.rpm
#fi
#cd $installroot
#cd $installroot/
#rm -f -R /tmp/compilers/
if [ -n "$vacpp_script" ] ; then

View File

@ -76,7 +76,11 @@ fi
if [ "$OS" != "AIX" ]; then
gen_xlf=`grep PE_LATEST_LEVEL $installroot/etc/ppe.cfg | cut -f2 -d ' ' `/mpich2/sbin/xlf_gen_mpimod
if [ -x $installroot/$gen_xlf ] ; then
chroot $installroot $gen_xlf
if [ $NODESETSTATE == "install" ] || [ $NODESETSTATE == "boot" ]; then
$gen_xlf
else
chroot $installroot $gen_xlf
fi
fi
fi
@ -91,8 +95,15 @@ fi
# BSR configuration, uncomment the following lines to enable BSR configuration on Power Linux cluter.
#if [ "$OS" != "AIX" ]; then
# chroot $installroot groupadd bsr
# chroot $installroot mkdir -p /var/lib/bsr
# chroot $installroot chown root:bsr /var/lib/bsr
# chroot $installroot chmod g+sw /var/lib/bsr
# if [ $NODESETSTATE == "install" ] || [ $NODESETSTATE == "boot" ]; then
# groupadd bsr
# mkdir -p /var/lib/bsr
# chown root:bsr /var/lib/bsr
# chmod g+sw /var/lib/bsr
# else
# chroot $installroot groupadd bsr
# chroot $installroot mkdir -p /var/lib/bsr
# chroot $installroot chown root:bsr /var/lib/bsr
# chroot $installroot chmod g+sw /var/lib/bsr
# fi
#fi