X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=fuel-plugin-ovsnfv%2Fpre_build_hook;h=600e2b7b242143b225eb3a6367174ccbc0b2c244;hb=0e14c4cb61521bdfc3cd597342f526e1c30ff405;hp=c8d1ce352b4d5ad438be91e30922e2102592b16b;hpb=9c5d3a2ab72fa9553924ecaf70ae7ef0d1d562d0;p=ovsnfv.git diff --git a/fuel-plugin-ovsnfv/pre_build_hook b/fuel-plugin-ovsnfv/pre_build_hook index c8d1ce3..600e2b7 100755 --- a/fuel-plugin-ovsnfv/pre_build_hook +++ b/fuel-plugin-ovsnfv/pre_build_hook @@ -13,31 +13,30 @@ networking_ovs_dpdk=${networking_ovs_dpdk:-master} rm -rf ${TMP} mkdir -p ${TMP} -rm -rf ${DIR}/repositories/${BUILD_FOR}/* # sudo apt-get install -qq --reinstall --print-uris bash | perl -lne "/'(.*?)'/;print \$1" if [ "$INCLUDE_DEPENDENCIES" = true ] then + rm -rf ${DIR}/repositories/${BUILD_FOR}/* wget --content-disposition -N -P ${DIR}/repositories/${BUILD_FOR}/ -i "${DIR}/ovs_package/${BUILD_FOR}/dependencies.txt" fi cd ${TMP} -rm -rf ${TMP}/networking-ovs-dpdk -git clone https://github.com/openstack/networking-ovs-dpdk ${TMP}/networking-ovs-dpdk -#rm -rf ${TMP}/networking-ovs-dpdk/.git #Install requires this to be a git repo +git clone https://github.com/openstack/networking-ovs-dpdk --branch stable/kilo --single-branch networking-ovs-dpdk +rm -rf ${TMP}/networking_ovs_dpdk/.git tar cfz ${DIR}/repositories/${BUILD_FOR}/networking-ovs-dpdk.tgz networking-ovs-dpdk -rm -rf ${TMP}/ovs -git clone https://github.com/openvswitch/ovs --branch master --single-branch ovs +git clone https://github.com/openvswitch/ovs +cd ovs +git checkout 1e77bbe565bbf5ae7f4c47f481a4097d666d3d68 +cd .. rm -rf ${TMP}/ovs/.git tar cfz ${DIR}/repositories/${BUILD_FOR}/ovs.tgz ovs -rm -rf ${TMP}/dpdk -git clone http://dpdk.org/git/dpdk --branch v2.1.0 --single-branch dpdk +git clone http://dpdk.org/git/dpdk --branch v2.0.0 --single-branch dpdk rm -rf ${TMP}/dpdk/.git tar cfz ${DIR}/repositories/${BUILD_FOR}/dpdk.tgz dpdk -cd - +cd $DIR rm -rf ${TMP} -