remove installing the IBM_pe_license* if the /etc/opt/ibmhpc/license exists.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8055 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2010-11-05 08:25:38 +00:00
parent 05f3b021ae
commit 06905cea5b

View File

@ -64,7 +64,7 @@ if [ $OS != "AIX" ]; then
fi
# Install PE license rpm into image, BUT DO NOT ACCEPT
# The java process fails when you try to run in chroot
zypper -R $installroot install $PE_DIR/IBM_pe_license*.rpm
#zypper -R $installroot install $PE_DIR/IBM_pe_license*.rpm
# Copy license files from MN into the image
mkdir -p $installroot/etc/opt/ibmhpc/license
cp -pR /etc/opt/ibmhpc/license/* $installroot/etc/opt/ibmhpc/license
@ -79,7 +79,7 @@ if [ $OS != "AIX" ]; then
fi
# Install PE license rpm into image, BUT DO NOT ACCEPT
# The java process fails when you try to run in chroot
yum --installroot $installroot --nogpgcheck install $PE_DIR/IBM_pe_license*.rpm
#yum --installroot $installroot --nogpgcheck install $PE_DIR/IBM_pe_license*.rpm
# Copy license files from MN into the image
mkdir -p $installroot/etc/opt/ibmhpc/license
cp -pR /etc/opt/ibmhpc/license/* $installroot/etc/opt/ibmhpc/license