diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-31 22:54:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-01 11:44:24 +0100 |
commit | 02eacce4109e50f31fecb653de808f0c31ac68bb (patch) | |
tree | da31b5266996ab811e2450258d8b2f3f38c8813e /scripts/oe-buildenv-internal | |
parent | 9333374605283c3c1b59cbce358b2f6764688c7c (diff) | |
download | poky-02eacce4109e50f31fecb653de808f0c31ac68bb.tar.gz |
scripts/oe-buildenv-internal: Add pointer to scripts/install-buildtools
If the minimum python version isn't met, show a pointer to the new
install-buildtools script.
(From OE-Core rev: 38e3d5bd3d05ed00a2fc55e3729cb8a6d4e4132f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-buildenv-internal')
-rwxr-xr-x | scripts/oe-buildenv-internal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal index c62688fbd2..ba0a9b44d6 100755 --- a/scripts/oe-buildenv-internal +++ b/scripts/oe-buildenv-internal | |||
@@ -34,7 +34,7 @@ fi | |||
34 | # any other new feature use, just check the version here. | 34 | # any other new feature use, just check the version here. |
35 | py_v35_check=$(python3 -c 'import sys; print(sys.version_info >= (3,5,0))') | 35 | py_v35_check=$(python3 -c 'import sys; print(sys.version_info >= (3,5,0))') |
36 | if [ "$py_v35_check" != "True" ]; then | 36 | if [ "$py_v35_check" != "True" ]; then |
37 | echo >&2 "BitBake requires Python 3.5.0 or later as 'python3'" | 37 | echo >&2 "BitBake requires Python 3.5.0 or later as 'python3 (scripts/install-buildtools can be used if needed)'" |
38 | return 1 | 38 | return 1 |
39 | fi | 39 | fi |
40 | unset py_v35_check | 40 | unset py_v35_check |