From: Nitin A Kamble Date: Mon, 31 Oct 2016 18:46:13 +0000 (-0700) Subject: install-deps.sh: allow building on SLES systems X-Git-Tag: v11.1.0~453^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F11708%2Fhead;p=ceph.git install-deps.sh: allow building on SLES systems Avoids this error on SLES systems: > ./install-deps.sh sles is unknown, dependencies will have to be installed manually. Signed-off-by: Nitin A Kamble --- diff --git a/install-deps.sh b/install-deps.sh index 5ac27455ffe..1f4e9c3a5a5 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -121,7 +121,7 @@ else $SUDO $builddepcmd $DIR/ceph.spec 2>&1 | tee $DIR/yum-builddep.out ! grep -q -i error: $DIR/yum-builddep.out || exit 1 ;; - opensuse|suse) + opensuse|suse|sles) echo "Using zypper to install dependencies" $SUDO zypper --gpg-auto-import-keys --non-interactive install lsb-release systemd-rpm-macros sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec