]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
scripts: Add Ubuntu source repo entry to ceph-debug-docker 48837/head
authorBrad Hubbard <bhubbard@redhat.com>
Fri, 11 Nov 2022 01:14:10 +0000 (11:14 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Fri, 11 Nov 2022 01:17:13 +0000 (11:17 +1000)
Under Ubuntu it's desirable to install the src package(s) when debugging
a coredump so add an entry for the ceph repo to facilitate that.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
src/script/ceph-debug-docker.sh

index 9f73b30119f5788dee99ecdc67f7da5841653b63..22afec8a0a4980d5eef9807c0eb6f381ed717081 100755 (executable)
@@ -117,6 +117,7 @@ RUN apt-get update --yes --quiet && \
 COPY cephdev.asc cephdev.asc
 RUN apt-key add cephdev.asc && \
     curl -L $repo_url | tee /etc/apt/sources.list.d/ceph_dev.list && \
+    cat /etc/apt/sources.list.d/ceph_dev.list|sed -e 's/^deb/deb-src/' >>/etc/apt/sources.list.d/ceph_dev.list && \
     apt-get update --yes && \
     DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get --assume-yes -q --no-install-recommends install -o Dpkg::Options::=--force-confnew --allow-unauthenticated ceph ceph-osd-dbg ceph-mds-dbg ceph-mgr-dbg ceph-mon-dbg ceph-common-dbg ceph-fuse-dbg ceph-test-dbg radosgw-dbg python3-cephfs python3-rados
 EOF