From: Brad Hubbard Date: Fri, 11 Nov 2022 01:14:10 +0000 (+1000) Subject: scripts: Add Ubuntu source repo entry to ceph-debug-docker X-Git-Tag: v18.1.0~850^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=0124d3b9f3a58bdc546e7d8abedbf90b2889655c;p=ceph.git 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 --- diff --git a/src/script/ceph-debug-docker.sh b/src/script/ceph-debug-docker.sh index 9f73b30119f57..22afec8a0a498 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