summaryrefslogtreecommitdiffstats
path: root/build/build_ovs_rpm.sh
diff options
context:
space:
mode:
authorThomas F Herbert <therbert@redhat.com>2016-04-30 10:56:19 -0400
committerThomas F Herbert <therbert@redhat.com>2016-04-30 12:27:10 -0400
commite8a95dc2a8c7aac0277da8a3da530a7907bfdd1d (patch)
tree42b8a88de9a9099f9ce47dcfa1caf43028f69b91 /build/build_ovs_rpm.sh
parentfe0d98cb53b7ce4b116c0f557376afe326698226 (diff)
Fix build problem by freezing copr commits
Use correct variable for copr dpdk version Change-Id: I09c5e7060924771a75376aebe5bf3bde897c38eb Signed-off-by: Thomas F Herbert <therbert@redhat.com>
Diffstat (limited to 'build/build_ovs_rpm.sh')
-rwxr-xr-xbuild/build_ovs_rpm.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/build_ovs_rpm.sh b/build/build_ovs_rpm.sh
index 198d43b..de46177 100755
--- a/build/build_ovs_rpm.sh
+++ b/build/build_ovs_rpm.sh
@@ -124,6 +124,8 @@ if [ ! -z $DPDK ]; then
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 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`