File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ source $TOP_DIR/stackrc
192192
193193# Warn users who aren't on an explicitly supported distro, but allow them to
194194# override check and attempt installation with ``FORCE=yes ./stack``
195- if [[ ! ${DISTRO} =~ (xenial| yakkety| zesty| stretch| jessie| f24| f25| rhel7| kvmibm1) ]]; then
195+ if [[ ! ${DISTRO} =~ (xenial| yakkety| zesty| stretch| jessie| f24| f25| opensuse-42.2 | rhel7| kvmibm1) ]]; then
196196 echo " WARNING: this script has not been tested on $DISTRO "
197197 if [[ " $FORCE " != " yes" ]]; then
198198 die $LINENO " If you wish to run this script anyway run with FORCE=yes"
Original file line number Diff line number Diff line change @@ -60,6 +60,14 @@ export_proxy_variables
6060# Install Packages
6161# ================
6262
63+ if [[ " ${DISTRO} " == " opensuse-42.2" ]]; then
64+ # temporary workaround until https://bugzilla.suse.com/show_bug.cgi?id=1041161 is fixed
65+ sudo zypper ar -f http://download.opensuse.org/update/leap/42.2-test/ leap42.2-test-updates
66+ sudo zypper --non-interactive --gpg-auto-import-keys --no-gpg-checks ref
67+ sudo zypper --non-interactive install liberasurecode-devel
68+ sudo zypper rr leap42.2-test-updates
69+ fi
70+
6371# Install package requirements
6472PACKAGES=$( get_packages general,$ENABLED_SERVICES )
6573PACKAGES=" $PACKAGES $( get_plugin_packages) "
You can’t perform that action at this time.
0 commit comments