summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2022-12-09 11:07:21 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2022-12-09 11:07:21 +0100
commitb409b171494cd381536adf93a1bbbba61638c1f4 (patch)
treef5b83e570a003bc7bd2445b56d56e6eedb2a7f11
parent38e288baacf39ae0e6a96473fe1f199ed001e1d0 (diff)
Create python symlink if needed
Change-Id: Ibacfd16de9fcfa8be838b7917b099f55dd82d7a9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--jjb/releng/releng-jobs.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/jjb/releng/releng-jobs.yaml b/jjb/releng/releng-jobs.yaml
index 452011410..4d52ad75d 100644
--- a/jjb/releng/releng-jobs.yaml
+++ b/jjb/releng/releng-jobs.yaml
@@ -146,6 +146,7 @@
builders:
- shell: |
[ -f tox.ini ] || exit 0
+ [ -f /usr/bin/python ] || ln -s /usr/bin/python3 /usr/bin/python
sudo apt-get -o DPkg::Lock::Timeout=300 update && \
sudo DEBIAN_FRONTEND=noninteractive apt-get \
-o DPkg::Lock::Timeout=300 dist-upgrade -y