]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerNitin A Kamble <Nitin.Kamble@Teradata.com>
Mon, 31 Oct 2016 18:48:22 +0000 (11:48 -0700)
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>
install-deps.sh

index 5ac27455ffe37f94bf7c9653ac3ffa14b8229acc..1f4e9c3a5a5a18856429852956740800a0ec49d8 100755 (executable)
@@ -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