summaryrefslogtreecommitdiffstats
path: root/install-deps.sh
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2018-12-19 09:37:55 +0100
committerKefu Chai <kchai@redhat.com>2018-12-19 10:06:35 +0100
commitaa2b9e9a643441d9a2891e17920677a7725754c4 (patch)
tree3a572255c26a1ae6b93ce281c5938bd276143413 /install-deps.sh
parentMerge PR #25470 into master (diff)
downloadceph-aa2b9e9a643441d9a2891e17920677a7725754c4.tar.xz
ceph-aa2b9e9a643441d9a2891e17920677a7725754c4.zip
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 <bhubbard@redhat.com>
Diffstat (limited to 'install-deps.sh')
-rwxr-xr-xinstall-deps.sh2
1 files changed, 1 insertions, 1 deletions
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"