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: Paul Luse <paul.e.luse@intel.com> Reviewed-on: https://review.gerrithub.io/436781 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
parent
dbcbddbb22
commit
3d4c012a2e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user