diff options
| author | Martin Schwenke <martin@meltin.net> | 2009-09-03 13:55:50 +1000 |
|---|---|---|
| committer | Martin Schwenke <martin@meltin.net> | 2009-09-03 13:55:50 +1000 |
| commit | c05ccf1c74276943edb7e08ccbae1a9b1fa053fa (patch) | |
| tree | ffc33fc655ffe4ac5e6b99d56f88e2799fb89636 /base/root/scripts | |
| parent | 1a39cfe5292c93ebc2ba4da5b37ad786c389ca9b (diff) | |
Add version-specific package installation to SoFS-postinstall.sh.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'base/root/scripts')
| -rwxr-xr-x | base/root/scripts/SoFS-postinstall.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/base/root/scripts/SoFS-postinstall.sh b/base/root/scripts/SoFS-postinstall.sh index 3969bf4..0b7d432 100755 --- a/base/root/scripts/SoFS-postinstall.sh +++ b/base/root/scripts/SoFS-postinstall.sh @@ -60,3 +60,13 @@ service nfslock start # this to build the 32-bit version of the winbind libraries. 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 perfcol sdstat +esac |
