]> 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>
Tue, 8 Sep 2020 13:38:56 +0000 (14:38 +0100)
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.

(From OE-Core rev: 946ce21b10dcad506edcaadb4e4242c049e4c316)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_ext.bbclass

index 40b0375e0b9d056cdc321f384729502430ad1760..8245361a3359749ca6aa6c30598f742c4ed98d2c 100644 (file)
@@ -574,8 +574,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=""