]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
scripts: install-deps.sh: pass --no-recommends to zypper 20434/head
authorNathan Cutler <ncutler@suse.com>
Wed, 14 Feb 2018 10:49:03 +0000 (11:49 +0100)
committerNathan Cutler <ncutler@suse.com>
Wed, 14 Feb 2018 10:49:03 +0000 (11:49 +0100)
Fixes: http://tracker.ceph.com/issues/22998
Signed-off-by: Nathan Cutler <ncutler@suse.com>
install-deps.sh

index 17c365a8eb4d8fd3fd175b9501b99e2380dae9b0..2b9be953cfa83b65f76ffc93ce7c35e70f9bb23f 100755 (executable)
@@ -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