summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Kern <ejk@cisco.com>2018-08-20 11:05:03 -0600
committerMarco Varlese <marco.varlese@suse.de>2018-08-21 07:09:10 +0000
commit6604ddea991e64fe0e8e51176eb0583058ebbc35 (patch)
tree67d09f88b004792c32bd10b66e6296d3ddb059bf
parent148cc01a56ab6502247d2445501ada6625f0cebf (diff)
Makefile: opensuse 15.0 reporting change
A change in /etc/os-release reporting for opensuse leap15.0 means this change is required so that builds are allowed. Change-Id: I35fb55a4c63b5d6d9d313c7e75ff6b039280df96 Signed-off-by: Ed Kern <ejk@cisco.com>
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5b5616dce14..15c2cf92cea 100644
--- a/Makefile
+++ b/Makefile
@@ -297,6 +297,9 @@ else ifeq ($(filter opensuse-tumbleweed,$(OS_ID)),$(OS_ID))
else ifeq ($(filter opensuse-leap,$(OS_ID)),$(OS_ID))
@sudo -E zypper refresh
@sudo -E zypper install -y $(RPM_SUSE_DEPENDS)
+else ifeq ($(filter opensuse,$(OS_ID)),$(OS_ID))
+ @sudo -E zypper refresh
+ @sudo -E zypper install -y $(RPM_SUSE_DEPENDS)
else
$(error "This option currently works only on Ubuntu, Debian, Centos or openSUSE systems")
endif