scripts/pkgdep: add suse packages

Updated script to install SUSE packages.
Testing was done on SUSE Linux Enterprise Server 12 SP3

Change-Id: I8eafadd2e2e0fb7b2c1a6c885a22c7e5dc61d6a5
Signed-off-by: John Kariuki <John.K.Kariuki@intel.com>
Reviewed-on: https://review.gerrithub.io/408891
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
John Kariuki 2018-04-24 13:23:48 -07:00 committed by Daniel Verkamp
parent e6acab9930
commit abeba45533

View File

@ -34,6 +34,17 @@ elif [ -f /etc/debian_version ]; then
apt-get install -y doxygen mscgen graphviz apt-get install -y doxygen mscgen graphviz
# Additional dependencies for SPDK CLI # Additional dependencies for SPDK CLI
apt-get install -y "python-configshell*" apt-get install -y "python-configshell*"
elif [ -f /etc/SuSE-release ]; then
zypper install -y gcc gcc-c++ make cunit-devel libaio-devel libopenssl-devel \
git-core lcov python-base python-pep8 libuuid-devel sg3_utils
# Additional dependencies for NVMe over Fabrics
zypper install -y rdma-core-devel
# Additional dependencies for DPDK
zypper install -y libnuma-devel
# Additional dependencies for building nvml based backends
zypper install -y libpmemblk-devel
# Additional dependencies for building docs
zypper install -y doxygen mscgen graphviz
elif [ $SYSTEM = "FreeBSD" ] ; then elif [ $SYSTEM = "FreeBSD" ] ; then
pkg install gmake cunit openssl git devel/astyle bash devel/pep8 \ pkg install gmake cunit openssl git devel/astyle bash devel/pep8 \
python misc/e2fsprogs-libuuid sysutils/sg3_utils python misc/e2fsprogs-libuuid sysutils/sg3_utils