diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.rhel.postinstall b/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.rhel.postinstall index 3887ddf20..5718efd2b 100755 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.rhel.postinstall +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.rhel.postinstall @@ -38,8 +38,9 @@ END #-- Uncomment the "cons" entry in /etc/inittab #cons:12345:respawn:/sbin/smart_agetty -L 38400 console -TMP_inittab=`sed 's/\(#\)\(cons:12345.*\)$/\2/' $installroot/etc/inittab` -echo "$TMP_inittab" > $installroot/etc/inittab +#TMP_inittab=`sed 's/\(#\)\(cons:12345.*\)$/\2/' $installroot/etc/inittab` +#echo "$TMP_inittab" > $installroot/etc/inittab +echo "co:2345:respawn:/sbin/agetty -L 38400 console" >> $installroot/etc/inittab # Create initial copies of /etc/passwd and others in case they are needed # by other postscripts diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.rhel6.ppc64.pkglist b/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.rhel6.ppc64.pkglist index 7da5c2a8e..47bcd505f 100755 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.rhel6.ppc64.pkglist +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.rhel6.ppc64.pkglist @@ -4,7 +4,7 @@ xinetd rsh rsh-server - +at.ppc64 compat-libstdc++-33.ppc compat-libstdc++-33.ppc64 diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.exlist b/xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.exlist new file mode 100755 index 000000000..e007fdd51 --- /dev/null +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.exlist @@ -0,0 +1,5 @@ +#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhel6.ppc64.exlist# +#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.exlist# +#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.exlist# +#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.exlist# + diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.otherpkgs.pkglist b/xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.otherpkgs.pkglist new file mode 100755 index 000000000..010ddfa5f --- /dev/null +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.otherpkgs.pkglist @@ -0,0 +1,4 @@ +#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.otherpkgs.pkglist# +#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.otherpkgs.pkglist# +#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.otherpkgs.pkglist# + diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.pkglist b/xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.pkglist new file mode 100755 index 000000000..7ae28ade6 --- /dev/null +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.pkglist @@ -0,0 +1,3 @@ +#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhel6.ppc64.pkglist# +#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.rhel6.pkglist# +#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.rhel6.pkglist# diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.postinstall b/xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.postinstall new file mode 100755 index 000000000..26d83f5e3 --- /dev/null +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.postinstall @@ -0,0 +1,59 @@ +#!/bin/sh +# Sample postinstall script for building a diskless SLES11 PPC64 image +# with all IBM HPC products +# +#-- this script is run after all packages from $profile.pkglist are installed +#-- +#-- it gets these arguments: +#-- +#-- $1 = install root (chroot directory for profile) +#-- $2 = OS version +#-- $3 = architecture +#-- $4 = profile name +#-- $5 = work dir (where genimage is located) +#-- +#-- +installroot=$1 +osver=$2 +arch=$3 +profile=$4 +workdir=$5 + +hpc=/opt/xcat/share/xcat/IBMhpc +otherpkgs=/install/post/otherpkgs/$osver/$arch + + +# Run default postinstall shipped with xcat +/opt/xcat/share/xcat/netboot/rh/compute.rhel6.ppc64.postinstall $1 $2 $3 $4 $5 + + +# Run general IBMhpc postinstall script +$hpc/IBMhpc.rhel.postinstall $1 $2 $3 $4 $5 + + +# Run script to install gpfs updates +installroot=$installroot NODESETSTATE=genimage $hpc/gpfs/gpfs_updates +# Run script to update GPFS mmsdrfs file in the image +installroot=$installroot $hpc/gpfs/gpfs_mmsdrfs + + +# Run script to accept compiler license +installroot=$installroot NODESETSTATE=genimage $hpc/compilers/compilers_license + + +# Run script to install PE and accept license +installroot=$installroot pedir=$otherpkgs/pe NODESETSTATE=genimage $hpc/pe/pe_install + + +# Run script to install ESSL and PESSL rpms +installroot=$installroot essldir=$otherpkgs/essl NODESETSTATE=genimage $hpc/essl/essl_install + + +# Run script to accept LoadLeveler license, install product rpms, +# and do some config +installroot=$installroot loadldir=$otherpkgs/loadl NODESETSTATE=genimage $hpc/loadl/loadl_install + +# Run script to install RSCT rpms +installroot=$installroot rsctdir=$otherpkgs/rsct NODESETSTATE=genimage $hpc/rsct/rsct_install + +