From 3a8a0f86471d37c31306a8a3cc3c007b6f629df4 Mon Sep 17 00:00:00 2001 From: Jan Altensen Date: Tue, 15 Dec 2020 21:11:00 +0100 Subject: [PATCH] use python 2.7 for 14.1 Change-Id: Iae03ca62a8a8e1f64992c072d0d73637fc9fb284 --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0068af6..e57712b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,6 +13,7 @@ build: script: - | + sudo update-alternatives --set python /usr/bin/python3 PATH="/home/build/bin:$PATH" if [ ${VERSION} = '17.1' ]; then export CCACHE_EXEC=$(which ccache) @@ -54,6 +55,9 @@ build: if [ -f device/*/${DEVICE}/patches/patch.sh ]; then device/*/${DEVICE}/patches/patch.sh fi + if [ ${VERSION} = '14.1' ]; then + sudo update-alternatives --set python /usr/bin/python2.7 + fi if [ ${CLEAN} = 'true' ]; then make clean else -- 2.20.1