elements: dib-python: Add python2 as the default version for openSUSE
Commit 6278371eaa13("Make dib-python use the default python for distro") added default python version for various distros but it missed openSUSE which leads to build failures since the openSUSE elements are pulling python2 packages. Add openSUSE to the list of python2 distributions until python3 support for the openSUSE elements is in place. Change-Id: I95f1fa849a22607c430387a2a915f9d19c9c209f
This commit is contained in:
parent
5a64c9e9cf
commit
339ecee2b2
@ -14,6 +14,8 @@ if [ -z "${DIB_PYTHON_VERSION:-}" ]; then
|
||||
DIB_PYTHON_VERSION=2
|
||||
elif [ "$DISTRO_NAME" == "centos7" ]; then
|
||||
DIB_PYTHON_VERSION=2
|
||||
elif [ "$DISTRO_NAME" == "opensuse" ]; then
|
||||
DIB_PYTHON_VERSION=2
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user