The ganesha spec file is calling in a system package that is in CentOS 10 Stream but not yet in Rocky/Alma/RHEL/whatever.
This reverts commit
1163bd6b01560bb435821d1ec14b69a5a4f3b0cc.
Fixes: https://tracker.ceph.com/issues/76681
Signed-off-by: David Galloway <david.galloway@ibm.com>
# NFS-Ganesha repo
RUN set -eux; \
- { \
+ source /etc/ceph-distro.env; \
+ if [[ "${DIST_PATH}" == rocky/* ]]; then \
+ curl -fs -L "https://shaman.ceph.com/api/repos/nfs-ganesha/main/latest/${DIST_PATH}/repo?arch=$(arch)" -o /etc/yum.repos.d/ganesha.repo; \
+ else \
+ { \
printf '%s\n' '[ganesha]'; \
printf '%s\n' 'name=ganesha'; \
printf '%s\n' "baseurl=${GANESHA_REPO_BASEURL}"; \
printf '%s\n' 'gpgcheck=0'; \
printf '%s\n' 'enabled=1'; \
- } > /etc/yum.repos.d/ganesha.repo
+ } > /etc/yum.repos.d/ganesha.repo; \
+ fi
# ISCSI repo
RUN set -eux && \