Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id C5C3BE00C43; Mon, 21 Aug 2017 13:07:12 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 1FCFAE00B01 for ; Mon, 21 Aug 2017 13:07:11 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id v7LK7BaT025737 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK) for ; Mon, 21 Aug 2017 13:07:11 -0700 Received: from yow-dellw-ma.wrs.com (128.224.56.18) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.361.1; Mon, 21 Aug 2017 13:07:10 -0700 From: Mark Asselstine To: , Date: Mon, 21 Aug 2017 16:07:10 -0400 Message-ID: <1503346030-16018-1-git-send-email-mark.asselstine@windriver.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Subject: [PATCH] openvswitch: force PYTHON to python3 X-BeenThere: meta-virtualization@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Discussion of layer enabling hypervisor, virtualization tool stack, and cloud support" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2017 20:07:12 -0000 Content-Type: text/plain 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 --- 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 \ " -- 2.7.4