Commit 097e6e16 authored by Karol Latecki's avatar Karol Latecki Committed by Tomasz Zawadzki
Browse files

nvme/hotplug.sh: Copy external DPDK libs into test VM



Need to select proper path for passing libs into the VM
in case we're building with custom DPDK.

Signed-off-by: default avatarKarol Latecki <karol.latecki@intel.com>
Change-Id: I97d301c70adee31b727c6b6673eadac3cbde9817
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4975


Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent 9b19abae
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -96,7 +96,15 @@ files_to_copy="scripts "
files_to_copy+="include/spdk/pci_ids.h "
files_to_copy+="build/examples/hotplug "
files_to_copy+="build/lib "

# Select which dpdk libs to copy in case we're not building with
# spdk/dpdk submodule
if [[ -n "$SPDK_RUN_EXTERNAL_DPDK" ]]; then
	files_to_copy+="-C $SPDK_RUN_EXTERNAL_DPDK/../.. dpdk/build/lib"
else
	files_to_copy+="dpdk/build/lib "
fi

(
	cd "$rootdir"
	tar -cf - $files_to_copy