Commit 3d4c012a authored by Paul Luse's avatar Paul Luse Committed by Jim Harris
Browse files

pkgdep: Handle SPDK CLI dep packages not available in old distros



At least one is not included in the 16.04 distro that we use
in the TP.

Change-Id: Ia441dbe1ddeb140313da5e61009ab84ea8e80ffd
Signed-off-by: default avatarPaul Luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/436781


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
parent dbcbddbb
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -87,9 +87,8 @@ elif [ -f /etc/debian_version ]; then
	# Additional dependencies for building docs
	apt-get install -y doxygen mscgen graphviz
	# Additional dependencies for SPDK CLI - not available on older Ubuntus
	if [[ $(lsb_release -rs) > "16.01" ]]; then
		apt-get install -y python3-configshell-fb python3-pexpect
	fi
	apt-get install -y python3-configshell-fb python3-pexpect || echo \
		"Note: Some SPDK CLI dependencies could not be installed."
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 pciutils