use python 2.7 for 14.1
authorJan Altensen <info@stricted.net>
Tue, 15 Dec 2020 20:11:00 +0000 (21:11 +0100)
committerJan Altensen <info@stricted.net>
Tue, 15 Dec 2020 20:12:59 +0000 (21:12 +0100)
Change-Id: Iae03ca62a8a8e1f64992c072d0d73637fc9fb284

.gitlab-ci.yml

index 0068af6ebb2b025b79def23855ffaa04e0b6f016..e57712bab95fa5a8234dc0508b0261d41263b56c 100644 (file)
@@ -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