[meta-virtualization] [PATCH] openvswitch: force PYTHON to python3

Bruce Ashfield bruce.ashfield at windriver.com
Tue Aug 22 08:39:58 PDT 2017


On 08/21/2017 04:07 PM, Mark Asselstine wrote:
> 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

> 
> Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
> ---
>   recipes-networking/openvswitch/openvswitch.inc | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/recipes-networking/openvswitch/openvswitch.inc b/recipes-networking/openvswitch/openvswitch.inc
> index 9d7f0f3..ab5a7e4 100644
> --- a/recipes-networking/openvswitch/openvswitch.inc
> +++ b/recipes-networking/openvswitch/openvswitch.inc
> @@ -34,6 +34,7 @@ SRC_URI = "\
>   	"
>   
>   EXTRA_OECONF += "\
> +	PYTHON=python3 \
>   	PYTHON3=python3 \
>   	PERL=${bindir}/perl \
>   	"
> 



More information about the meta-virtualization mailing list