test/vm_setup: Add module dependency for freebsd
Change-Id: Ied1da9dba02f9ff735ce603fee95aacd2981930d Signed-off-by: Pawel Kaminski <pawelx.kaminski@intel.com> Signed-off-by: Maciej Wawryk <maciejx.wawryk@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1140 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
ae22c0019a
commit
7cf4602d11
@ -1010,9 +1010,13 @@ function freebsd_update_contigmem_mod()
|
||||
echo "Warning: SPDK only works on FreeBSD with patches that only exist in SPDK's dpdk submodule"
|
||||
cp -f "$WITH_DPDK_DIR/kmod/contigmem.ko" /boot/modules/
|
||||
cp -f "$WITH_DPDK_DIR/kmod/contigmem.ko" /boot/kernel/
|
||||
cp -f "$WITH_DPDK_DIR/kmod/nic_uio.ko" /boot/modules/
|
||||
cp -f "$WITH_DPDK_DIR/kmod/nic_uio.ko" /boot/kernel/
|
||||
else
|
||||
cp -f "$rootdir/dpdk/build/kmod/contigmem.ko" /boot/modules/
|
||||
cp -f "$rootdir/dpdk/build/kmod/contigmem.ko" /boot/kernel/
|
||||
cp -f "$rootdir/dpdk/build/kmod/nic_uio.ko" /boot/modules/
|
||||
cp -f "$rootdir/dpdk/build/kmod/nic_uio.ko" /boot/kernel/
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user