]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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)
committerJeremy A. Puhlman <jpuhlman@mvista.com>
Thu, 16 Jul 2020 16:01:10 +0000 (09:01 -0700)
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>
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
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=""