| ... | ... |
@@ -192,7 +192,7 @@ source $TOP_DIR/stackrc |
| 192 | 192 |
|
| 193 | 193 |
# Warn users who aren't on an explicitly supported distro, but allow them to |
| 194 | 194 |
# 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
|
|
| 196 | 196 |
echo "WARNING: this script has not been tested on $DISTRO" |
| 197 | 197 |
if [[ "$FORCE" != "yes" ]]; then |
| 198 | 198 |
die $LINENO "If you wish to run this script anyway run with FORCE=yes" |
| ... | ... |
@@ -60,6 +60,14 @@ export_proxy_variables |
| 60 | 60 |
# Install Packages |
| 61 | 61 |
# ================ |
| 62 | 62 |
|
| 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 |
+ |
|
| 63 | 71 |
# Install package requirements |
| 64 | 72 |
PACKAGES=$(get_packages general,$ENABLED_SERVICES) |
| 65 | 73 |
PACKAGES="$PACKAGES $(get_plugin_packages)" |