summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch/openvswitch_git.bb
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2017-07-12 17:02:42 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-07-13 10:54:49 -0400
commitf0f0453984192fd1b250785d2088a84733065c28 (patch)
treeaaffa0ce19816af43f5a1ced614bf9b6c255c5e8 /recipes-networking/openvswitch/openvswitch_git.bb
parent165ffabe8933d2e44074d67921ea465eab4d90cb (diff)
downloadmeta-virtualization-f0f0453984192fd1b250785d2088a84733065c28.tar.gz
openvswitch: backport py3 fixups
While attempting to get ovs to be built and run with py3 (completely free of py2) host contamination was found (builds on hosts without python-six installed would fail). It was also determined that pyc files were still being generated with py2 and not py3. This resulted in more work being done to achieve the desired results. This work was sent upstream and subsequently merged. Unfortunately this didn't make v2.7.1 and may not be available until the next major release, so here we backport these commits and adjust the recipe to get a clean py3 only build. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-networking/openvswitch/openvswitch_git.bb')
-rw-r--r--recipes-networking/openvswitch/openvswitch_git.bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-networking/openvswitch/openvswitch_git.bb b/recipes-networking/openvswitch/openvswitch_git.bb
index 39726075..a3c586b7 100644
--- a/recipes-networking/openvswitch/openvswitch_git.bb
+++ b/recipes-networking/openvswitch/openvswitch_git.bb
@@ -33,6 +33,19 @@ SRC_URI = "file://openvswitch-switch \
33 file://python-switch-remaining-scripts-to-use-python3.patch \ 33 file://python-switch-remaining-scripts-to-use-python3.patch \
34 " 34 "
35 35
36# Temporarily backport patches to better support py3. These have been
37# merged upstream but are not part of v2.7.1.
38SRC_URI += " \
39 file://0001-Python3-compatibility-Convert-print-statements.patch \
40 file://0002-Python3-compatibility-exception-cleanup.patch \
41 file://0003-Python3-compatibility-execfile-to-exec.patch \
42 file://0004-Python3-compatibility-iteritems-to-items.patch \
43 file://0005-Python3-compatibility-fix-integer-problems.patch \
44 file://0006-Python3-compatibility-math-error-compatibility.patch \
45 file://0007-Python3-compatibility-unicode-to-str.patch \
46 file://0008-AUTHORS-Add-Jason-Wessel.patch \
47"
48
36LIC_FILES_CHKSUM = "file://COPYING;md5=17b2c9d4c70853a09c0e143137754b35" 49LIC_FILES_CHKSUM = "file://COPYING;md5=17b2c9d4c70853a09c0e143137754b35"
37 50
38PACKAGECONFIG ?= "" 51PACKAGECONFIG ?= ""