diff options
author | Thomas F Herbert <therbert@redhat.com> | 2016-05-10 18:31:20 -0400 |
---|---|---|
committer | Thomas F Herbert <therbert@redhat.com> | 2016-05-10 18:34:00 -0400 |
commit | 4e07dd488cb78b8333763418c4ccc25e05766956 (patch) | |
tree | ca016dc7d236b7c6a83aa7538a1c1f6f8ba51bfe /build/build_ovs_rpm.sh | |
parent | 946d138c1bbbde85c2cdbe75efdd5c778fbe42e7 (diff) |
Fix for new location of OVS and DPDK COPR repos.
Change-Id: Ibee81cbee778bb1b542317ed41b94d01f86426bc
Signed-off-by: Thomas F Herbert <therbert@redhat.com>
Diffstat (limited to 'build/build_ovs_rpm.sh')
-rwxr-xr-x | build/build_ovs_rpm.sh | 12 |
1 files changed, 6 insertions, 6 deletions
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 |