From 5ef8a125cc3a8b8f461a9636001c0ad7f6f88957 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 25 Sep 2017 13:08:51 +0200 Subject: [PATCH] Install minimal lsb-release package on openSUSE lsb-release is a dependency of "lsb", so it used to work before just fine as well, but it was installing about 300MB of "stuff" that we don't actually need.. Change-Id: I25c7c750cbaeb40bf4f2e8695608c4b1003289ea --- functions-common | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/functions-common b/functions-common index 1b8ca96fd4..a09f972e6e 100644 --- a/functions-common +++ b/functions-common @@ -319,10 +319,7 @@ function _ensure_lsb_release { if [[ -x $(command -v apt-get 2>/dev/null) ]]; then sudo apt-get install -y lsb-release elif [[ -x $(command -v zypper 2>/dev/null) ]]; then - # XXX: old code paths seem to have assumed SUSE platforms also - # had "yum". Keep this ordered above yum so we don't try to - # install the rh package. suse calls it just "lsb" - sudo zypper -n install lsb + sudo zypper -n install lsb-release elif [[ -x $(command -v dnf 2>/dev/null) ]]; then sudo dnf install -y redhat-lsb-core elif [[ -x $(command -v yum 2>/dev/null) ]]; then