diff options
Diffstat (limited to 'install-deps.sh')
-rwxr-xr-x | install-deps.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install-deps.sh b/install-deps.sh index 99520b40011..e14e16274ed 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -411,7 +411,7 @@ EOF ;; rocky|centos|rhel|ol|virtuozzo) MAJOR_VERSION="$(echo $VERSION_ID | cut -d. -f1)" - $SUDO dnf install -y dnf-utils + $SUDO dnf install -y dnf-utils selinux-policy-targeted rpm --quiet --query epel-release || \ $SUDO dnf -y install --nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release-latest-$MAJOR_VERSION.noarch.rpm $SUDO rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$MAJOR_VERSION @@ -442,7 +442,7 @@ EOF ensure_decent_gcc_on_rh $dts_ver fi 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 + sed "/$IGNORE_YUM_BUILDEP_ERRORS/d" $DIR/yum-builddep.out | grep -i "error:" && exit 1 # for rgw motr backend build checks if ! rpm --quiet -q cortx-motr-devel && { [[ $FOR_MAKE_CHECK ]] || $with_rgw_motr; }; then |