From 0124d3b9f3a58bdc546e7d8abedbf90b2889655c Mon Sep 17 00:00:00 2001 From: Brad Hubbard Date: Fri, 11 Nov 2022 11:14:10 +1000 Subject: [PATCH] scripts: Add Ubuntu source repo entry to ceph-debug-docker 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 --- src/script/ceph-debug-docker.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/script/ceph-debug-docker.sh b/src/script/ceph-debug-docker.sh index 9f73b30119f..22afec8a0a4 100755 --- a/src/script/ceph-debug-docker.sh +++ b/src/script/ceph-debug-docker.sh @@ -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 -- 2.39.5