aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorqun wan <qun.wan@intel.com>2017-06-20 17:33:48 -0400
committerqun wan <qun.wan@intel.com>2017-06-20 17:33:48 -0400
commit28e640943cc0c4ed7e896f6c2d933c88f969c7c5 (patch)
treee1db0811e48950f62e193fdae7708a6a858024e0
parent665b506d4f3b229e05d14eda9def5e46c56518e9 (diff)
Patch on tldk bootstrap file to fix the wget of dpdk package
Change-Id: I0be71fc359c334830043d0fbd45826fbfd4cb8aa Signed-off-by: qun wan <qun.wan@intel.com>
-rwxr-xr-xbootstrap-TLDK.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/bootstrap-TLDK.sh b/bootstrap-TLDK.sh
index 48daf9be15..7edaa4ef13 100755
--- a/bootstrap-TLDK.sh
+++ b/bootstrap-TLDK.sh
@@ -17,6 +17,9 @@ set -x
cat /etc/hostname
cat /etc/hosts
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+export PYTHONPATH=${SCRIPT_DIR}
+
export DEBIAN_FRONTEND=noninteractive
sudo apt-get -y update
sudo apt-get -y install libpython2.7-dev python-virtualenv
@@ -112,6 +115,8 @@ done
VIRL_DIR_LOC="/tmp"
TLDK_TAR_FILE="tldk_depends.tar.gz"
+wget "fast.dpdk.org/rel/${DPDK_PACKAGE}"
+
tar zcf ${TLDK_TAR_FILE} ${DPDK_PACKAGE} ./tldk/ \
./TLDK-tests/tldk_testconfig/ ./TLDK-tests/tldk_deplibs/