X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=build%2Fbuild_ovs_rpm.sh;h=b03f4abaadcbf4e94f0e8c8582711f01be9eeb41;hb=4e07dd488cb78b8333763418c4ccc25e05766956;hp=de4617772ee9f30f394ecbd596fe5dc860de71dd;hpb=946d138c1bbbde85c2cdbe75efdd5c778fbe42e7;p=ovsnfv.git diff --git a/build/build_ovs_rpm.sh b/build/build_ovs_rpm.sh index de46177..b03f4ab 100755 --- a/build/build_ovs_rpm.sh +++ b/build/build_ovs_rpm.sh @@ -123,12 +123,12 @@ if [ ! -z $DPDK ]; then echo "----------------------------------" echo "Clone Fedora copr repo and copy files." echo - git clone http://copr-dist-git.fedorainfracloud.org/cgit/pmatilai/dpdk-snapshot/openvswitch.git - cd openvswitch + git clone https://github.com/tfherbert/ovs-snap.git + cd ovs-snap git checkout $COPR_OVS_VERSION - cp $TMPDIR/openvswitch/openvswitch.spec $RPMDIR/SPECS - cp $TMPDIR/openvswitch/* $RPMDIR/SOURCES - snapgit=`grep "define snapver" $TMPDIR/openvswitch/openvswitch.spec | cut -c26-33` + cp $TMPDIR/ovs-snap/openvswitch.spec $RPMDIR/SPECS + cp $TMPDIR/ovs-snap/* $RPMDIR/SOURCES + snapgit=`grep "define snapver" $TMPDIR/ovs-snap/openvswitch.spec | cut -c26-33` echo "-------------------------------------------" echo "Remove old dpdk, ovs and dpdk development rpms" echo @@ -161,7 +161,7 @@ if [ ! -z $DPDK ]; then prefix=openvswitch-${basever} archive=${prefix}-${snapser}.git${snapgit}.tar.gz git archive --prefix=${prefix}-${snapser}.git${snapgit}/ HEAD | gzip -9 > $RPMDIR/SOURCES/${archive} - cd $TMPDIR/openvswitch + cd $TMPDIR/ovs-snap echo "--------------------------------------------" echo "Build openvswitch RPM" echo