add rsct to Linux HPC integration (already installed with AIX)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6088 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e7363d1c47
commit
9127757c00
@ -7,3 +7,4 @@
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.exlist#
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl.exlist#
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.exlist#
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.exlist#
|
||||
|
@ -7,3 +7,7 @@
|
||||
#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.otherpkgs.pkglist#
|
||||
|
||||
# For full-disk (stateful) images, EDIT below to use rsct.otherpkgs
|
||||
# For diskless, rpms are installed with postinstall script
|
||||
#do not INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.otherpkgs.pkglist#
|
||||
|
@ -6,5 +6,6 @@
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.pkglist#
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.pkglist#
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.pkglist#
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.pkglist#
|
||||
|
||||
|
||||
|
@ -53,3 +53,7 @@ installroot=$installroot essldir=$otherpkgs/essl NODESETSTATE=genimage $hpc/es
|
||||
# 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
|
||||
|
||||
|
||||
|
18
xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct.exlist
Executable file
18
xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct.exlist
Executable file
@ -0,0 +1,18 @@
|
||||
+./usr/lib/perl5*
|
||||
./usr/include/rsct/*
|
||||
./usr/sbin/rsct/README
|
||||
./usr/sbin/rsct/include*
|
||||
./usr/sbin/rsct/man/*
|
||||
./usr/sbin/rsct/bin/trap2rmcd
|
||||
./usr/sbin/rsct/bin/ctadmingroup
|
||||
./usr/sbin/rsct/bin/mkcdef
|
||||
|
||||
#java interface
|
||||
./usr/sbin/rsct/lib/java.exp
|
||||
./usr/sbin/rsct/lib/librmcjni.so
|
||||
./usr/sbin/rsct/lib/librmcjni.so.exp
|
||||
./usr/sbin/rsct/lib/libutiljni.so
|
||||
./usr/sbin/rsct/lib/libutiljni.so.exp
|
||||
./usr/sbin/rsct/codebase*
|
||||
|
||||
|
7
xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct.otherpkgs.pkglist
Executable file
7
xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct.otherpkgs.pkglist
Executable file
@ -0,0 +1,7 @@
|
||||
# RSCT rpms
|
||||
# Use this pkglist ONLY for full-disk install (stateful) images
|
||||
# The rsct_install postscript will install the rpms into
|
||||
# diskless/statelite images with genimage
|
||||
rsct/rsct.core
|
||||
rsct/rsct.core.utils
|
||||
rsct/src
|
1
xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct.pkglist
Executable file
1
xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct.pkglist
Executable file
@ -0,0 +1 @@
|
||||
uuid-runtime
|
36
xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct_install
Executable file
36
xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct_install
Executable file
@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Sample script to accept licenses and install RSCT packages
|
||||
# For AIX:
|
||||
# do nothing - RSCT gets installed with base AIX
|
||||
# For Linux:
|
||||
# install the rsct rpms
|
||||
|
||||
|
||||
OS=`uname`
|
||||
INSTALL_DIR='/install'
|
||||
RSCT_DIR=$rsctdir
|
||||
|
||||
if [ -z "$RSCT_DIR" ]; then
|
||||
# try to default
|
||||
RSCT_DIR=$INSTALL_DIR/post/otherpkgs/$OSVER/$ARCH/rsct
|
||||
fi
|
||||
|
||||
|
||||
|
||||
if [ $OS != "AIX" ]; then
|
||||
# if [ $NODESETSTATE == "install" ] || [ $NODESETSTATE == "boot" ] ; then
|
||||
# Being run from a stateful install postscript
|
||||
# Do nothing - use rsct.otherpkgs.pkglist to install the
|
||||
# rsct rpms
|
||||
# fi
|
||||
|
||||
if [ $NODESETSTATE == "genimage" ]; then
|
||||
# Being called from <image>.postinstall script
|
||||
# Assume we are on the same machine
|
||||
INUCLIENTS=1 INUBOSTYPE=1 rpm --root $installroot --force -Uvh $RSCT_DIR/src-* $RSCT_DIR/rsct.core-* $RSCT_DIR/rsct.core.utils-*
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user