openvswitch: force PYTHON to python3
PATCH 1/1 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.
--- recipes-networking/openvswitch/openvswitch.inc | 1 + 1 file changed, 1 insertion(+)
recipes-networking/openvswitch/openvswitch.inc +1 -0
@@ -34,6 +34,7 @@ SRC_URI = "\ " EXTRA_OECONF += "\ + PYTHON=python3 \ PYTHON3=python3 \ PERL=${bindir}/perl \ "
Signature · 1 line
2.7.4
Quoted 10 lines · Mark Asselstine
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.
merged.
Bruce
Quoted 19 lines
Signed-off-by Mark Asselstine <[email protected]>--- recipes-networking/openvswitch/openvswitch.inc | 1 + 1 file changed, 1 insertion(+)recipes-networking/openvswitch/openvswitch.inc +1
-0@@ -34,6 +34,7 @@ SRC_URI = "\ " EXTRA_OECONF += "\ + PYTHON=python3 \ PYTHON3=python3 \ PERL=${bindir}/perl \ "