From 7f767ab48ee80e77c1d31d8d5306b2f65511be8f Mon Sep 17 00:00:00 2001 From: Ernesto Puerta Date: Tue, 30 Jul 2019 18:45:44 +0200 Subject: [PATCH] install-deps.sh: remove failing error catching Fixes: https://tracker.ceph.com/issues/41013 Signed-off-by: Ernesto Puerta --- install-deps.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install-deps.sh b/install-deps.sh index 4addfbed7cd..6b448175599 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 ;; -- 2.39.5