From 5d0db530d466157b722fef410f42708b71faaf52 Mon Sep 17 00:00:00 2001 From: Dariusz Stojaczyk Date: Wed, 22 Aug 2018 08:52:46 +0200 Subject: [PATCH] pkgdep.sh: add pciutils (lspci) Apparently not all distributions include it by default. We use it a lot in setup.sh and test scripts, so add it as a dependency. Change-Id: I5dc5e7f01ff8b07a01487b61725a928e92f583d2 Signed-off-by: Dariusz Stojaczyk Reviewed-on: https://review.gerrithub.io/423052 Tested-by: SPDK CI Jenkins Reviewed-by: Ben Walker Reviewed-by: Jim Harris Chandler-Test-Pool: SPDK Automated Test System --- scripts/pkgdep.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/pkgdep.sh b/scripts/pkgdep.sh index 871abd420..5700335f5 100755 --- a/scripts/pkgdep.sh +++ b/scripts/pkgdep.sh @@ -11,7 +11,7 @@ if [ -s /etc/redhat-release ]; then fi yum install -y gcc gcc-c++ make CUnit-devel libaio-devel openssl-devel \ git astyle python-pep8 lcov python clang-analyzer libuuid-devel \ - sg3_utils libiscsi-devel + sg3_utils libiscsi-devel pciutils # Additional (optional) dependencies for showing backtrace in logs yum install -y libunwind-devel # Additional dependencies for NVMe over Fabrics @@ -27,7 +27,7 @@ if [ -s /etc/redhat-release ]; then elif [ -f /etc/debian_version ]; then # Includes Ubuntu, Debian apt-get install -y gcc g++ make libcunit1-dev libaio-dev libssl-dev \ - git astyle pep8 lcov clang uuid-dev sg3-utils libiscsi-dev + git astyle pep8 lcov clang uuid-dev sg3-utils libiscsi-dev pciutils # Additional (optional) dependencies for showing backtrace in logs apt-get install libunwind-dev # Additional dependencies for NVMe over Fabrics @@ -42,7 +42,7 @@ elif [ -f /etc/debian_version ]; then pip3 install configshell_fb pexpect 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 + git-core lcov python-base python-pep8 libuuid-devel sg3_utils pciutils # Additional (optional) dependencies for showing backtrace in logs zypper install libunwind-devel # Additional dependencies for NVMe over Fabrics