aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2024-03-20 17:10:51 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2024-03-20 17:10:51 +0000
commit7a9396a0a74b2df3b6d980011a0055369bfc6001 (patch)
treed86591367bc2d12c7de2d78d5da344e011f3673d
parented40567dde2ae1b1f8b0dc0e589093c8b357d713 (diff)
downloadlibvirt-ci-7a9396a0a74b2df3b6d980011a0055369bfc6001.zip
libvirt-ci-7a9396a0a74b2df3b6d980011a0055369bfc6001.tar.gz
libvirt-ci-7a9396a0a74b2df3b6d980011a0055369bfc6001.tar.bz2
ci: ensure python3 binary is always present
OpenSUSE Leap 15.5 has dropped the 'python3' binary from the python311-base RPM. Create a compat symlink if it doesn't already exist. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
-rwxr-xr-xci/gitlab/all_mappings_prep_env/opensuse-prep.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/gitlab/all_mappings_prep_env/opensuse-prep.sh b/ci/gitlab/all_mappings_prep_env/opensuse-prep.sh
index 878e625..4854179 100755
--- a/ci/gitlab/all_mappings_prep_env/opensuse-prep.sh
+++ b/ci/gitlab/all_mappings_prep_env/opensuse-prep.sh
@@ -5,3 +5,4 @@ zypper install -y \
perl-App-cpanminus \
python311-base \
python311-pip
+test -f /usr/bin/python3 || ln -s /usr/bin/python3.11 /usr/bin/python3