]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
install-deps.sh: allow building on SLES systems
authorNitin A Kamble <Nitin.Kamble@Teradata.com>
Mon, 31 Oct 2016 18:46:13 +0000 (11:46 -0700)
committerJan Fajerski <jfajerski@suse.com>
Tue, 10 Jan 2017 08:40:23 +0000 (09:40 +0100)
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 <Nitin.Kamble@Teradata.com>
(cherry picked from commit 266f4d4f20a1756e825ee54d79fe5f8d931d4b77)

    Conflict in install-deps.sh due to indentation. Trivial resolution.

install-deps.sh

index abb2beba01600dffa0ff9d73f90703b820ec449d..e583a2d3a29c9e55a88df42f62e098f9d6c3428a 100755 (executable)
@@ -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