diff options
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2019-12-19 15:23:02 +0300 |
---|---|---|
committer | Paul Sokolovskyy <paul.sokolovsky@linaro.org> | 2019-12-19 12:48:55 +0000 |
commit | abe3a58d72e92cd33f8fea39f97ec2ace4b91dd4 (patch) | |
tree | 366b80b638e91b9c153dfb16f203d66e3e5f4351 /lite-aeolus | |
parent | f2f5abfe20b40a4bdac3b840af73995748d4a622 (diff) |
lite-aeolus: Install Python3.6 and use it for Zephyr builds.
As of yesterday, Zephyr master requires Python3.6.
Similar to zephyr-upstream job changes applied earlier.
Change-Id: Iadc44d24c73a21ac3fa58208bde30ac57d93df12
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Diffstat (limited to 'lite-aeolus')
-rw-r--r-- | lite-aeolus/build-init.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lite-aeolus/build-init.sh b/lite-aeolus/build-init.sh index 56472249..3d7f7103 100644 --- a/lite-aeolus/build-init.sh +++ b/lite-aeolus/build-init.sh @@ -1,7 +1,13 @@ #!/bin/bash set -ex +# Zephyr 2.2+ requires Python3.6. As it's not available in official distro +# packages for Ubuntu Xenial (16.04) which we use, install it from PPA. +sudo add-apt-repository -y ppa:deadsnakes/ppa sudo apt-get -q=2 update +sudo apt-get install -y python3.6 +sudo ln -sf python3.6 /usr/bin/python3 + #sudo apt-get -q=2 -y install git g++ libc6-dev-i386 g++-multilib python3-ply python3-yaml gcc-arm-none-eabi python-requests rsync device-tree-compiler sudo apt-get -q=2 -y install python3-pip python-serial python3-serial socat |