From: Nathan Cutler Date: Wed, 14 Feb 2018 10:49:03 +0000 (+0100) Subject: scripts: install-deps.sh: pass --no-recommends to zypper X-Git-Tag: v13.0.2~166^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b47d57474dbc9d5ed9357457e3098bb6a1386d55;p=ceph.git scripts: install-deps.sh: pass --no-recommends to zypper Fixes: http://tracker.ceph.com/issues/22998 Signed-off-by: Nathan Cutler --- diff --git a/install-deps.sh b/install-deps.sh index 17c365a8eb4d..2b9be953cfa8 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -248,9 +248,10 @@ else ;; opensuse|suse|sles) echo "Using zypper to install dependencies" - $SUDO zypper --gpg-auto-import-keys --non-interactive install lsb-release systemd-rpm-macros + zypp_install="zypper --gpg-auto-import-keys --non-interactive install --no-recommends" + $SUDO $zypp_install lsb-release systemd-rpm-macros munge_ceph_spec_in $DIR/ceph.spec - $SUDO zypper --non-interactive install $(rpmspec -q --buildrequires $DIR/ceph.spec) || exit 1 + $SUDO $zypp_install $(rpmspec -q --buildrequires $DIR/ceph.spec) || exit 1 ;; alpine) # for now we need the testing repo for leveldb