[oe-commits] [openembedded-core] 18/18: populate_sdk_ext: We now require python3, not python

git at git.openembedded.org git at git.openembedded.org
Sat Feb 15 10:28:24 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 946ce21b10dcad506edcaadb4e4242c049e4c316
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Feb 14 18:13:14 2020 +0000

    populate_sdk_ext: We now require python3, not python
    
    We no longer expect a "python" binary in PATH so update the eSDK's
    expectations to match. This was the only failure on autobuilder test
    systems with python missing.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/populate_sdk_ext.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 9511e55..57fd29b 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -613,8 +613,8 @@ sdk_ext_preinst() {
 		exit 1
 	fi
 	# The relocation script used by buildtools installer requires python
-	if ! command -v python > /dev/null; then
-		echo "ERROR: The installer requires python, please install it first"
+	if ! command -v python3 > /dev/null; then
+		echo "ERROR: The installer requires python3, please install it first"
 		exit 1
 	fi
 	missing_utils=""

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list