3636b40f74
The current implementation evauates the dib-init-system script too early. Also it looks that there is no simple way of getting the info about the init system automatically: another element can install (later on) a different init system. Therefore the only reliable way of setting this is manual. Change-Id: I6e9ffa1bdb3154f488f4fd335b197699b86aacd4 Signed-off-by: Andreas Florath <andreas@florath.net>
14 lines
519 B
Bash
14 lines
519 B
Bash
export DISTRO_NAME=opensuse
|
|
export DIB_RELEASE=${DIB_RELEASE:-15.1}
|
|
export DIB_OPENSUSE_PATTERNS=patterns-openSUSE-base
|
|
export DIB_INIT_SYSTEM=systemd
|
|
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}
|