From: Brad Hubbard Date: Wed, 18 Sep 2019 07:12:22 +0000 (+1000) Subject: ceph-*-build: skip unavailable repo when yum-builddep X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=dffa6923dd306d162bb6e61ca502fe69136c3ed5;p=ceph-build.git 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 --- 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`