Skip to content

Commit 8ad830a

Browse files
authored
Merge pull request ceph#56530 from rhcs-dashboard/enable-grpc-copr
install-deps: enable copr ceph/grpc Reviewed-by: Ernesto Puerta <[email protected]>
2 parents fe870ff + 257dc69 commit 8ad830a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

install-deps.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,11 @@ else
517517
$SUDO rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$MAJOR_VERSION
518518
$SUDO rm -f /etc/yum.repos.d/dl.fedoraproject.org*
519519
if test $ID = centos -a $MAJOR_VERSION = 8 ; then
520+
# for grpc-devel
521+
# See https://copr.fedorainfracloud.org/coprs/ceph/grpc/
522+
# epel is enabled for all major versions couple of lines above
523+
$SUDO dnf copr enable -y ceph/grpc
524+
520525
# Enable 'powertools' or 'PowerTools' repo
521526
$SUDO dnf config-manager --set-enabled $(dnf repolist --all 2>/dev/null|gawk 'tolower($0) ~ /^powertools\s/{print $1}')
522527
dts_ver=11
@@ -532,6 +537,9 @@ else
532537
$SUDO dnf config-manager --add-repo http://apt-mirror.front.sepia.ceph.com/lab-extras/8/
533538
$SUDO dnf config-manager --setopt=apt-mirror.front.sepia.ceph.com_lab-extras_8_.gpgcheck=0 --save
534539
$SUDO dnf -y module enable javapackages-tools
540+
541+
# Enable ceph/grpc from copr for el8, this is needed for nvmeof management.
542+
$SUDO dnf copr enable -y ceph/grpc
535543
fi
536544
;;
537545
esac

0 commit comments

Comments
 (0)