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 <karol.latecki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/459323
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Karol Latecki 2019-06-25 17:36:33 +02:00 committed by Ben Walker
parent 016d933793
commit c7abeb33b5

View File

@ -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)