scripts/pkgdep: update SUSE distros recognition
OpenSUSE releases (OpenSUSE Leap and Tumbleweed) now use /etc/SUSE-brand than /etc/SuSE-release as SUSE identification. According to this change, This commit intends to update scripts/pkgdep so that it could install packages for OpenSUSE. Tested on OpenSUSE Leap 15.0 and latest Tumblweed. Change-Id: I878b6671753084ef718e1f7630a42520a72ea151 Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/446504 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
913bd6b6ef
commit
3181ef203c
@ -92,7 +92,7 @@ elif [ -f /etc/debian_version ]; then
|
|||||||
"Note: Some SPDK CLI dependencies could not be installed."
|
"Note: Some SPDK CLI dependencies could not be installed."
|
||||||
# Additional dependencies for ISA-L used in compression
|
# Additional dependencies for ISA-L used in compression
|
||||||
apt-get install -y autoconf automake libtool
|
apt-get install -y autoconf automake libtool
|
||||||
elif [ -f /etc/SuSE-release ]; then
|
elif [ -f /etc/SuSE-release ] || [ -f /etc/SUSE-brand ]; then
|
||||||
zypper install -y gcc gcc-c++ make cunit-devel libaio-devel libopenssl-devel \
|
zypper install -y gcc gcc-c++ make cunit-devel libaio-devel libopenssl-devel \
|
||||||
git-core lcov python-base python-pycodestyle libuuid-devel sg3_utils pciutils
|
git-core lcov python-base python-pycodestyle libuuid-devel sg3_utils pciutils
|
||||||
# Additional (optional) dependencies for showing backtrace in logs
|
# Additional (optional) dependencies for showing backtrace in logs
|
||||||
|
Loading…
Reference in New Issue
Block a user