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: v10.2.6~63^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=94ab8d85b59ff8bd8919930b9d912d1bf55eb9ed;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 (cherry picked from commit 266f4d4f20a1756e825ee54d79fe5f8d931d4b77) Conflict in install-deps.sh due to indentation. Trivial resolution. --- diff --git a/install-deps.sh b/install-deps.sh index abb2beba01600..e583a2d3a29c9 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -75,7 +75,7 @@ centos|fedora|rhel) $SUDO yum-builddep -y $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