Skip to content

Commit

Permalink
centos/8: add ktdreyer copr repository back
Browse files Browse the repository at this point in the history
Since smarmontools 7 won't be present in CentOS 8 until 8.3 then we will
be stuck with 6.6 which isn't compatible with the device health status.
This re-adds ktdreyer copr repository that contains a smartmontools 7
build.
This is a temporary solution until CentOS 8.3 release.

Fixes: https://tracker.ceph.com/issues/47107

Signed-off-by: Dimitri Savineau <[email protected]>
(cherry picked from commit aa644a5)
  • Loading branch information
dsavineau committed Oct 28, 2020
1 parent 8333421 commit f1a6983
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ceph-releases/ALL/centos/daemon-base/__DOCKERFILE_INSTALL__
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ if [[ "${CEPH_VERSION}" == nautilus ]]; then \
fi ; \
fi && \
bash -c ' \
if [[ __ENV_[BASEOS_TAG]__ -eq 8 ]]; then \
yum install -y dnf-plugins-core ;\
yum copr enable -y ktdreyer/ceph-el8 ;\
fi && \
if [[ "${CEPH_VERSION}" =~ master|^wip* ]] || ${CEPH_DEVEL}; then \
REPO_URL=$(curl -s "https://shaman.ceph.com/api/search/?project=ceph&distros=centos/__ENV_[BASEOS_TAG]__&flavor=default&ref=${CEPH_VERSION}&sha1=latest" | jq -a ".[0] | .url"); \
RELEASE_VER=0 ;\
Expand Down

0 comments on commit f1a6983

Please sign in to comment.