summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDeepak S <deepak.s@linux.intel.com>2017-10-17 02:58:42 -0700
committerDeepak S <deepak.s@linux.intel.com>2017-10-17 03:00:07 -0700
commite053f47d7137aa0cc0d60f76be8779b04d6b833b (patch)
tree62699239d0a0b38b607598a9ed833d31072beafd /tools
parent55a4eb6880487b04272c6bada82e21b898cbd44e (diff)
Copy the dev bind to standard path
Change-Id: I44972071e41b67a5aec2adaf426ec84f54c4414e Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/vnf_build.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/vnf_build.sh b/tools/vnf_build.sh
index 3b70166c..f60a3644 100755
--- a/tools/vnf_build.sh
+++ b/tools/vnf_build.sh
@@ -252,6 +252,11 @@ install_dpdk()
echo "igb_uio" | sudo tee -a /etc/modules
sudo depmod
fi
+ if [ -d "dpdk/usertools/" ]; then
+ cp usertools/dpdk-devbind.py /usr/sbin/dpdk-devbind
+ else
+ cp tools/dpdk_nic_bind.py /usr/sbin/dpdk-devbind
+ fi
popd
}