added otherpkg,exclude,pkglist list and postinstall script for generall hpc integration packages on x86_64/rhels6.2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11783 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c39381bd4d
commit
f80d6abe96
34
xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.rhels6.x86_64.exlist
Normal file
34
xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.rhels6.x86_64.exlist
Normal file
@ -0,0 +1,34 @@
|
||||
./boot*
|
||||
./usr/share/wallpapers/RHEL6/contents/images*
|
||||
./usr/include*
|
||||
./usr/lib/locale*
|
||||
./usr/lib64/perl5/Encode/CN*
|
||||
./usr/lib64/perl5/Encode/JP*
|
||||
./usr/lib64/perl5/Encode/TW*
|
||||
./usr/lib64/perl5/Encode/KR*
|
||||
./lib/kbd/keymaps/i386*
|
||||
./lib/kbd/keymaps/mac*
|
||||
./lib/kdb/keymaps/include*
|
||||
./usr/local/include*
|
||||
./usr/local/share/man*
|
||||
./usr/share/man*
|
||||
./usr/share/cracklib*
|
||||
./usr/share/doc*
|
||||
./usr/share/doc/packages/cyrus-sasl/doc*
|
||||
./usr/share/gnome*
|
||||
./usr/share/i18n*
|
||||
+./usr/share/i18n/en_US*
|
||||
./usr/share/info*
|
||||
./usr/share/locale/*
|
||||
+./usr/share/locale/en_US*
|
||||
+./usr/share/locale/C*
|
||||
+./usr/share/locale/locale.alias
|
||||
+./usr/lib/locale/locale-archive
|
||||
+./usr/lib/locale/en*
|
||||
./usr/share/man*
|
||||
./usr/share/omf*
|
||||
./usr/share/vim/site/doc*
|
||||
./usr/share/vim/vim72/doc*
|
||||
./usr/share/zoneinfo*
|
||||
./var/cache/man*
|
||||
./var/lib/yum*
|
31
xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.rhels6.x86_64.pkglist
Normal file
31
xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.rhels6.x86_64.pkglist
Normal file
@ -0,0 +1,31 @@
|
||||
# OS packages that are useful for all IBM HPC products
|
||||
#INCLUDE:/opt/xcat/share/xcat/netboot/rh/compute.rhels6.x86_64.pkglist#
|
||||
|
||||
xinetd
|
||||
rsh
|
||||
rsh-server
|
||||
at
|
||||
sed
|
||||
ksh
|
||||
sudo
|
||||
|
||||
libXmu.x86_64
|
||||
libXtst.x86_64
|
||||
libXp.x86_64
|
||||
libXp.i686
|
||||
libXScrnSaver.x86_64
|
||||
|
||||
gcc.x86_64
|
||||
gcc-c++.x86_64
|
||||
libgcc.i686
|
||||
libgcc.x86_64
|
||||
libstdc++.i686
|
||||
libstdc++.x86_64
|
||||
libstdc++-devel.i686
|
||||
libstdc++-devel.x86_64
|
||||
compat-libstdc++-33.i686
|
||||
compat-libstdc++-33.x86_64
|
||||
glibc-devel.i686
|
||||
glibc-devel.x86_64
|
||||
|
||||
redhat-lsb.x86_64
|
@ -0,0 +1,3 @@
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhels6.x86_64.exlist#
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.exlist#
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.exlist#
|
@ -0,0 +1,2 @@
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.rhels6.x86_64.otherpkgs.pkglist#
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.rhels6.x86_64.otherpkgs.pkglist#
|
@ -0,0 +1,2 @@
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhels6.x86_64.pkglist#
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.rhels6.x86_64.pkglist#
|
@ -0,0 +1,65 @@
|
||||
#!/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
|
||||
|
||||
otherpkgs=/install/post/otherpkgs/$osver/$arch
|
||||
|
||||
################
|
||||
# This script runs other postinstall scripts from the $hpc directory
|
||||
# If you have created a custom copy of ANY of these scripts,
|
||||
# make sure to change the execution path from $hpc/<product> to the location
|
||||
# you have placed your script in
|
||||
###############
|
||||
hpc=/opt/xcat/share/xcat/IBMhpc
|
||||
custom=/install/custom/netboot/rh
|
||||
installps=/install/postscripts
|
||||
|
||||
# Run default postinstall shipped with xcat
|
||||
/opt/xcat/share/xcat/netboot/rh/compute.rhels6.x86_64.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. x86_64 is using gcc, comment this line.
|
||||
#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-1200
|
||||
|
||||
|
||||
# Run script to install ESSL and PESSL rpms. Not available on x86_64.
|
||||
#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. Not available on x86_64
|
||||
#installroot=$installroot rsctdir=$otherpkgs/rsct NODESETSTATE=genimage $hpc/rsct/rsct_install
|
Loading…
Reference in New Issue
Block a user