5 BUILD_FOR=${BUILD_FOR:-ubuntu}
6 DIR="$(dirname `readlink -f $0`)"
9 INCLUDE_DEPENDENCIES=${INCLUDE_DEPENDENCIES:-true}
10 ovs_ref=${ovs_ref:-master}
11 dpdk_ref=${dpdk_ref:-2.1.0}
12 networking_ovs_dpdk=${networking_ovs_dpdk:-master}
16 rm -rf ${DIR}/repositories/${BUILD_FOR}/*
18 # sudo apt-get install -qq --reinstall --print-uris bash | perl -lne "/'(.*?)'/;print \$1"
19 if [ "$INCLUDE_DEPENDENCIES" = true ]
21 wget --content-disposition -N -P ${DIR}/repositories/${BUILD_FOR}/ -i "${DIR}/ovs_package/${BUILD_FOR}/dependencies.txt"
26 rm -rf ${TMP}/networking-ovs-dpdk
27 git clone https://github.com/openstack/networking-ovs-dpdk ${TMP}/networking-ovs-dpdk
28 #rm -rf ${TMP}/networking-ovs-dpdk/.git #Install requires this to be a git repo
29 tar cfz ${DIR}/repositories/${BUILD_FOR}/networking-ovs-dpdk.tgz networking-ovs-dpdk
32 git clone https://github.com/openvswitch/ovs --branch master --single-branch ovs
33 rm -rf ${TMP}/ovs/.git
34 tar cfz ${DIR}/repositories/${BUILD_FOR}/ovs.tgz ovs
37 git clone http://dpdk.org/git/dpdk --branch v2.1.0 --single-branch dpdk
38 rm -rf ${TMP}/dpdk/.git
39 tar cfz ${DIR}/repositories/${BUILD_FOR}/dpdk.tgz dpdk