diff options
author | qun wan <qun.wan@intel.com> | 2017-06-20 17:33:48 -0400 |
---|---|---|
committer | qun wan <qun.wan@intel.com> | 2017-06-20 17:33:48 -0400 |
commit | 28e640943cc0c4ed7e896f6c2d933c88f969c7c5 (patch) | |
tree | e1db0811e48950f62e193fdae7708a6a858024e0 /bootstrap-TLDK.sh | |
parent | 665b506d4f3b229e05d14eda9def5e46c56518e9 (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>
Diffstat (limited to 'bootstrap-TLDK.sh')
-rwxr-xr-x | bootstrap-TLDK.sh | 5 |
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/ |