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: v12.2.13~109^2~16 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b2c51975b021f86eedc21b9c149b3e9195993c32;p=ceph.git scripts: install-deps.sh: pass --no-recommends to zypper Fixes: http://tracker.ceph.com/issues/22998 Signed-off-by: Nathan Cutler (cherry picked from commit b47d57474dbc9d5ed9357457e3098bb6a1386d55) --- diff --git a/install-deps.sh b/install-deps.sh index 350c22567bc..dddae0d2dfb 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -242,9 +242,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