summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2017-08-21 16:07:10 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-08-22 11:25:28 -0400
commit65fef58b029bda709c5d97f731af8d6cbdddd3d4 (patch)
tree249588ad7306a6b4d6efdbf3f8c25d8d593b2c99 /recipes-networking/openvswitch
parentf06b48c2c80339a67e78fa4fcd2b9da44ff3671c (diff)
downloadmeta-virtualization-65fef58b029bda709c5d97f731af8d6cbdddd3d4.tar.gz
openvswitch: force PYTHON to python3
Openvswitch has been created to search for and use both py2 and py3, with a preference for py2. There is no configure option to force the use of py3 only, and many of the scripts only use the value of PYTHON and not PYTHON3 (again there is a general preference for py2). In order to force this issue we set PYTHON to 'python3'. This isn't ideal but allows for the desired outcome without us having to carry changes against upstream OVS. During our py3 work with OVS this change was identified but for some reason was not included as part of the already merged changes. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-networking/openvswitch')
-rw-r--r--recipes-networking/openvswitch/openvswitch.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-networking/openvswitch/openvswitch.inc b/recipes-networking/openvswitch/openvswitch.inc
index 9d7f0f34..ab5a7e47 100644
--- a/recipes-networking/openvswitch/openvswitch.inc
+++ b/recipes-networking/openvswitch/openvswitch.inc
@@ -34,6 +34,7 @@ SRC_URI = "\
34 " 34 "
35 35
36EXTRA_OECONF += "\ 36EXTRA_OECONF += "\
37 PYTHON=python3 \
37 PYTHON3=python3 \ 38 PYTHON3=python3 \
38 PERL=${bindir}/perl \ 39 PERL=${bindir}/perl \
39 " 40 "