aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-14 18:13:14 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-08 14:38:56 +0100
commit775336424bcc7c083e2ac6ccd3db0b16e87dc29a (patch)
treed189644a1e98d100698b5b552fde96fa3d506387
parent2cb99a44c650db7fd6fbd269f5788e4ebfd523fc (diff)
downloadopenembedded-core-775336424bcc7c083e2ac6ccd3db0b16e87dc29a.tar.gz
openembedded-core-775336424bcc7c083e2ac6ccd3db0b16e87dc29a.tar.bz2
openembedded-core-775336424bcc7c083e2ac6ccd3db0b16e87dc29a.zip
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. (From OE-Core rev: 946ce21b10dcad506edcaadb4e4242c049e4c316) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/populate_sdk_ext.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 40b0375e0b..8245361a33 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -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=""