From: John Mulligan Date: Mon, 22 May 2023 18:20:19 +0000 (-0400) Subject: doc: add instructions for compiling cephadm X-Git-Tag: v19.0.0~1099^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=421147f97c8a21272a52b5f13340c1019b0165c5;p=ceph-ci.git doc: add instructions for compiling cephadm Now that cephadm is based on zipapp, add a short section to the developer docs explaining how to build cephadm yourself. Note: This commit is a cherry-pick of 9ad38033cc5c7f177cb8fe3bae696682687e0346, which was introduced by John Mulligan in #48180. This is one of three commits introduced in that PR, and this cherry-pick cleans up omissions I (Zac Dover) inadvertently introduced while attempting to rectify the merge conflicts in #51843. I expect that one more cherry-picked commit (specifically, d11cf0e82aab8d4cef9d423e5d463a373eaf383a, which cannot be merged easily until d7921e88d69b4bc355da9c0327cc33e59e7d7abb has been merged into main, for reasons that are too Rick-and-Morty-there-should-never-be-more-than-one-dot to go into here) will follow this one. Signed-off-by: John Mulligan (cherry picked from commit 9ad38033cc5c7f177cb8fe3bae696682687e0346) --- diff --git a/doc/dev/cephadm/developing-cephadm.rst b/doc/dev/cephadm/developing-cephadm.rst index e6b8c302aa7..49b771caa5c 100644 --- a/doc/dev/cephadm/developing-cephadm.rst +++ b/doc/dev/cephadm/developing-cephadm.rst @@ -395,7 +395,7 @@ Compiling cephadm ================= Recent versions of cephadm are based on `Python Zip Application`_ support, and -is "compiled" from Python source code files in the ceph tree. To create your +are "compiled" from Python source code files in the ceph tree. To create your own copy of the cephadm "binary" use the script located at ``src/cephadm/build.py`` in the Ceph tree. The command should take the form ``./src/cephadm/build.py [output]``.