From dffa6923dd306d162bb6e61ca502fe69136c3ed5 Mon Sep 17 00:00:00 2001 From: Brad Hubbard Date: Wed, 18 Sep 2019 17:12:22 +1000 Subject: [PATCH] ceph-*-build: skip unavailable repo when yum-builddep 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. Signed-off-by: Brad Hubbard --- ceph-build/build/setup_rpm | 2 +- ceph-dev-build/build/setup_rpm | 2 +- ceph-dev-new-build/build/setup_rpm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ceph-build/build/setup_rpm b/ceph-build/build/setup_rpm index 6905a103..3c52577c 100644 --- a/ceph-build/build/setup_rpm +++ b/ceph-build/build/setup_rpm @@ -45,7 +45,7 @@ sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec # python2-rpm-macro we use for identify the python related dependencies $SUDO yum install -y python36-devel -$SUDO yum-builddep -y $DIR/ceph.spec +$SUDO yum-builddep -y --setopt=*.skip_if_unavailable=true $DIR/ceph.spec BRANCH=`branch_slash_filter $BRANCH` diff --git a/ceph-dev-build/build/setup_rpm b/ceph-dev-build/build/setup_rpm index 05796891..525b248c 100644 --- a/ceph-dev-build/build/setup_rpm +++ b/ceph-dev-build/build/setup_rpm @@ -45,7 +45,7 @@ sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec # python2-rpm-macro we use for identify the python related dependencies $SUDO yum install -y python36-devel -$SUDO yum-builddep -y $DIR/ceph.spec +$SUDO yum-builddep -y --setopt=*.skip_if_unavailable=true $DIR/ceph.spec BRANCH=`branch_slash_filter $BRANCH` diff --git a/ceph-dev-new-build/build/setup_rpm b/ceph-dev-new-build/build/setup_rpm index 05796891..525b248c 100644 --- a/ceph-dev-new-build/build/setup_rpm +++ b/ceph-dev-new-build/build/setup_rpm @@ -45,7 +45,7 @@ sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec # python2-rpm-macro we use for identify the python related dependencies $SUDO yum install -y python36-devel -$SUDO yum-builddep -y $DIR/ceph.spec +$SUDO yum-builddep -y --setopt=*.skip_if_unavailable=true $DIR/ceph.spec BRANCH=`branch_slash_filter $BRANCH` -- 2.39.5