From: Ernesto Puerta Date: Tue, 30 Jul 2019 16:45:44 +0000 (+0200) Subject: install-deps.sh: remove failing error catching X-Git-Tag: v15.1.0~1966^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F29403%2Fhead;p=ceph.git install-deps.sh: remove failing error catching Fixes: https://tracker.ceph.com/issues/41013 Signed-off-by: Ernesto Puerta --- diff --git a/install-deps.sh b/install-deps.sh index 4addfbed7cd1..6b448175599a 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -374,7 +374,8 @@ else if [ -n "$dts_ver" ]; then ensure_decent_gcc_on_rh $dts_ver fi - ! grep -q -i error: $DIR/yum-builddep.out || exit 1 + IGNORE_YUM_BUILDEP_ERRORS="ValueError: SELinux policy is not managed or store cannot be accessed." + sed "/$IGNORE_YUM_BUILDEP_ERRORS/d" $DIR/yum-builddep.out | grep -qi "error:" && exit 1 # for building python-saml and its dependencies $SUDO $yumdnf install -y xmlsec1 xmlsec1-nss xmlsec1-openssl xmlsec1-devel xmlsec1-openssl-devel libtool-ltdl-devel ;;