summaryrefslogtreecommitdiffstats
path: root/base/root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'base/root/scripts')
-rwxr-xr-xbase/root/scripts/SoFS-postinstall.sh15
1 files changed, 6 insertions, 9 deletions
diff --git a/base/root/scripts/SoFS-postinstall.sh b/base/root/scripts/SoFS-postinstall.sh
index b689b7a..c332d7a 100755
--- a/base/root/scripts/SoFS-postinstall.sh
+++ b/base/root/scripts/SoFS-postinstall.sh
@@ -61,12 +61,9 @@ service nfslock start
echo "Installing keyutils-libs-devel.i386"
yum -y install keyutils-libs-devel.i386
-# Install extra packages depending on the version.
-sofs_version=@@SOFS_VERSION@@
-case "$sofs_version" in
- 1.*)
- :
- ;;
- *)
- yum install -y ibmnas-cim-providers "ibmcim*" perfcol sdstat
-esac
+
+# Install extra packages...
+sofs_extra_packages="@@SOFS_EXTRA_PACKAGES@@"
+if [ -n "$sofs_extra_packages" ] ; then
+ yum install -y $sofs_extra_packages
+fi