]> code.ossystems Code Review - openembedded-core.git/commitdiff
populate_sdk_ext: We now require python3, not python
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Feb 2020 18:13:14 +0000 (18:13 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 15 Feb 2020 10:25:15 +0000 (10:25 +0000)
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@linuxfoundation.org>
meta/classes/populate_sdk_ext.bbclass

index 9511e553f56166797b4106aacfcb7e12a6db5ed4..57fd29b1bbd1fd3862a3f3b4bb3c79b299fa050b 100644 (file)
@@ -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=""