summaryrefslogtreecommitdiffstats
path: root/fuel-plugin
diff options
context:
space:
mode:
authorDonald Dugger <n0ano@n0ano.com>2016-04-28 21:39:53 +0000
committerDon Dugger <n0ano@n0ano.com>2016-05-13 17:19:46 -0600
commitd25f207637b3f6784195ca80a855da3593dab3b8 (patch)
tree03406dcd08b5ec85f80c6e81951f4115ad5acdcf /fuel-plugin
parent5bbd6fe9b8bab2a93e548c5a53b032d1939eec05 (diff)
Add patch to Linux 4.4 to support OVS
Given that OVS doesn't support Linux 4.4 yet we need to add a patch to the OVS sources so that we can build a 4.4 version of the OVS loadable kernel module that works with the RT Linux 4.4 kernel used in OPNFV. The directory `patches/ovs' contains patches (currently only one) that are applied against the OVS tree. The Fuel build script is modified to apply all of the patches in this directory to the OVS tree. Then a working OVS KLM is created that is then inserted into the RT kernel DEB package so that the end result is an RT kernel that supports OVS. Upstream status: NA Change-Id: I361f92526fb4bcafbeab9ce21570202f4aad1632 Signed-off-by: Don Dugger <n0ano@n0ano.com>
Diffstat (limited to 'fuel-plugin')
-rwxr-xr-xfuel-plugin/build_kvm.sh15
1 files changed, 14 insertions, 1 deletions
diff --git a/fuel-plugin/build_kvm.sh b/fuel-plugin/build_kvm.sh
index 2c392922a..f5854d89f 100755
--- a/fuel-plugin/build_kvm.sh
+++ b/fuel-plugin/build_kvm.sh
@@ -38,7 +38,7 @@ EOF
}
KVM_COMMIT=""
-OVS_COMMIT=""
+OVS_COMMIT="4ff6642f3c1dd8949c2f42b3310ee2523ee970a6"
KEEP=no
for i
do
@@ -821,6 +821,19 @@ fi
else
git reset --hard
fi
+
+ #
+ # Apply out of tree patches
+ #
+ for i in $SRC/kvmfornfv/patches/ovs/*.patch
+ do
+ if [ -f "$i" ]
+ then
+ echo "Applying: $i"
+ patch -p1 <$i
+ fi
+ done
+
./boot.sh
./configure --with-linux=$SRC/kvmfornfv/kernel
make