1bdeaadc95
zypper on non-suse hosts is not parsing the pattern repodata because those are marked as an inofficial extension to the repomd specification. This is not a big issue as there is meanwhile in newer openSUSE distributions a pattern *package* that depends on the same packages like the pattern would do, so we can just replace it with that. Change-Id: I0c8f713075bd7e5bf1d425f81933b4666654add7 Depends-On: I34e98f0f7693859ed05011b008334628adff612f Signed-off-by: Paul Belanger <pabelanger@redhat.com>
10 lines
397 B
Bash
10 lines
397 B
Bash
export DISTRO_NAME=opensuse
|
|
export DIB_RELEASE=${DIB_RELEASE:-42.2}
|
|
export DIB_OPENSUSE_PATTERNS=patterns-openSUSE-base
|
|
case ${DIB_RELEASE} in
|
|
# Old openSUSE releases
|
|
13*) export OPENSUSE_REPO_DIR=openSUSE_${DIB_RELEASE} ;;
|
|
# New Leap releases
|
|
42*) export OPENSUSE_REPO_DIR=openSUSE_Leap_${DIB_RELEASE} ;;
|
|
*) echo "Unsupported openSUSE release: ${DIB_RELEASE}"; exit 1 ;;
|
|
esac
|