c7ac6ee0cb
Use openSUSE 15.0 as default, which is the latest released stable openSUSE release. Switch to https for accessing download.o.org as encrypted transfers should be used by default. Remove leftovers for definitely unmaintained openSUSE 13.x images and split into old/new leap style versioning scheme for clarity. Change-Id: Iab129eeee2b1a2563f0f0d2cb17bbad57c068e38
13 lines
488 B
Bash
13 lines
488 B
Bash
export DISTRO_NAME=opensuse
|
|
export DIB_RELEASE=${DIB_RELEASE:-15.0}
|
|
export DIB_OPENSUSE_PATTERNS=patterns-openSUSE-base
|
|
case ${DIB_RELEASE} in
|
|
# Old Leap releases
|
|
42*) export OPENSUSE_REPO_DIR=openSUSE_Leap_${DIB_RELEASE} ;;
|
|
# New Leap releases
|
|
15*) export OPENSUSE_REPO_DIR=openSUSE_Leap_${DIB_RELEASE} ;;
|
|
*) echo "Unsupported openSUSE release: ${DIB_RELEASE}"; exit 1 ;;
|
|
esac
|
|
|
|
export DIB_DISTRIBUTION_MIRROR=${DIB_DISTRIBUTION_MIRROR:-https://download.opensuse.org}
|