From aa2b9e9a643441d9a2891e17920677a7725754c4 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 19 Dec 2018 16:37:55 +0800 Subject: [PATCH] install-deps.sh: skip unavailable repos as centos-sclo-rh-source leads us to 404 at this moment. and we are not using the source repo for building ceph. so we can just skip any unavailable repo. Fixes: http://tracker.ceph.com/issues/37707 Signed-off-by: Brad Hubbard --- install-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-deps.sh b/install-deps.sh index 106cfcbc43e..9b060ed2519 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -280,7 +280,7 @@ else ;; centos|fedora|rhel|ol|virtuozzo) yumdnf="yum" - builddepcmd="yum-builddep -y" + builddepcmd="yum-builddep -y --setopt=*.skip_if_unavailable=true" if test "$(echo "$VERSION_ID >= 22" | bc)" -ne 0; then yumdnf="dnf" builddepcmd="dnf -y builddep --allowerasing" -- 2.39.5