From: Patrick Donnelly Date: Fri, 4 Jun 2021 16:32:52 +0000 (-0700) Subject: script: enable centos debuginfo repo for debugging X-Git-Tag: v17.1.0~1743^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=efbfd678a2d31b9d957a30c9cdf407daa5f1fcc2;p=ceph.git script: enable centos debuginfo repo for debugging So we can fetch e.g. the sqlite debuginfo packages. Signed-off-by: Patrick Donnelly --- diff --git a/src/script/ceph-debug-docker.sh b/src/script/ceph-debug-docker.sh index 7941cd46844bb..9bdf0df611a2e 100755 --- a/src/script/ceph-debug-docker.sh +++ b/src/script/ceph-debug-docker.sh @@ -110,10 +110,12 @@ EOF centos:7) python_bindings="python36-rados python36-cephfs" ceph_debuginfo="ceph-debuginfo" + debuginfo=/etc/yum.repos.d/CentOS-Linux-Debuginfo.repo ;; centos:8) python_bindings="python3-rados python3-cephfs" ceph_debuginfo="ceph-base-debuginfo" + debuginfo=/etc/yum.repos.d/CentOS-Linux-Debuginfo.repo ;; esac if [ "${FLAVOR}" = "crimson" ]; then @@ -123,7 +125,8 @@ EOF FROM ${env} WORKDIR /root -RUN yum update -y && \ +RUN sed -i 's/enabled=0/enabled=1/' ${debuginfo} && \ + yum update -y && \ yum install -y tmux epel-release wget psmisc ca-certificates gdb RUN wget -O /etc/yum.repos.d/ceph-dev.repo $repo_url && \ yum clean all && \