From: Deepak S Date: Tue, 17 Oct 2017 09:58:42 +0000 (-0700) Subject: Copy the dev bind to standard path X-Git-Tag: opnfv-5.0.RC1~9 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F69%2F45369%2F1;p=samplevnf.git Copy the dev bind to standard path Change-Id: I56e3bbcc5154025e0c63cd5e4cebc368b103aee5 Signed-off-by: Deepak S --- 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 }