]> code.ossystems Code Review - openembedded-core.git/commitdiff
scripts/oe-buildenv-internal: Add pointer to scripts/install-buildtools
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 Mar 2020 21:54:16 +0000 (22:54 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Apr 2020 10:43:59 +0000 (11:43 +0100)
If the minimum python version isn't met, show a pointer to the new
install-buildtools script.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-buildenv-internal

index c62688fbd23c5d68617c23f3f4603c7577b7f599..ba0a9b44d6f820292b05dee067602e0c7c144b26 100755 (executable)
@@ -34,7 +34,7 @@ fi
 # any other new feature use, just check the version here.
 py_v35_check=$(python3 -c 'import sys; print(sys.version_info >= (3,5,0))')
 if [ "$py_v35_check" != "True" ]; then
-    echo >&2 "BitBake requires Python 3.5.0 or later as 'python3'"
+    echo >&2 "BitBake requires Python 3.5.0 or later as 'python3 (scripts/install-buildtools can be used if needed)'"
     return 1
 fi
 unset py_v35_check