From c7abeb33b530b00eaaae6ae130519a10a3c8d6ac Mon Sep 17 00:00:00 2001 From: Karol Latecki Date: Tue, 25 Jun 2019 17:36:33 +0200 Subject: [PATCH] test/vm_setup.sh: add libudev-devel to install_qat Missing dependency libudev-devel. If not installed then ./cofnigure fails with: checking for libudev.h... no configure: error: udev headers required Change-Id: I53c8f522cbc8eb1e6b461fd78c0bf3305bfb09b9 Signed-off-by: Karol Latecki Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/459323 Tested-by: SPDK CI Jenkins Reviewed-by: Darek Stojaczyk Reviewed-by: Tomasz Zawadzki Reviewed-by: Ben Walker --- test/common/config/vm_setup.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/common/config/vm_setup.sh b/test/common/config/vm_setup.sh index 65ecf4f933..3f53f01c33 100755 --- a/test/common/config/vm_setup.sh +++ b/test/common/config/vm_setup.sh @@ -90,6 +90,13 @@ function install_iscsi_adm() function install_qat() { + + if [ "$PACKAGEMNG" = "dnf" ]; then + sudo dnf install -y libudev-devel + elif [ "$PACKAGEMNG" = "apt-get" ]; then + sudo apt-get install -y libudev-dev + fi + if echo $CONF | grep -q qat; then qat_tarball=$(basename $DRIVER_LOCATION_QAT) kernel_maj=$(uname -r | cut -d'.' -f1)