summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild/build_dpdk_rpm.sh2
-rwxr-xr-xbuild/build_ovs_rpm.sh2
-rw-r--r--build/config2
3 files changed, 6 insertions, 0 deletions
diff --git a/build/build_dpdk_rpm.sh b/build/build_dpdk_rpm.sh
index 5118826..fc1d7de 100755
--- a/build/build_dpdk_rpm.sh
+++ b/build/build_dpdk_rpm.sh
@@ -88,6 +88,8 @@ echo "Get copr distribution git"
mkdir -p copr
cd copr
git clone http://copr-dist-git.fedorainfracloud.org/cgit/pmatilai/dpdk-snapshot/dpdk.git
+cd dpdk
+git checkout $COPR_DPDK_VERSION
echo "---------------------"
echo "Build DPDK RPM version $DPDK_VERSION"
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`
diff --git a/build/config b/build/config
index 73a2293..40d8a23 100644
--- a/build/config
+++ b/build/config
@@ -37,6 +37,8 @@ export PATCH=none
export WITH_DPDK=yes
export DPDK_PATCH=none
export DPDK_VERSION=16.04-rc4
+export COPR_DPDK_VERSION=b0ffc82446b72b7e950c0d8c74d942704ec7aa68
+export COPR_OVS_VERSION=25179223d133d87569d169c60f72d9707eb486c5
#
# When KMOD is set, the Linux kernel module is built and tested.
#