mirror of
https://github.com/ceph/ceph
synced 2024-12-29 15:03:33 +00:00
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. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
79ca2d6ab7
commit
9ad38033cc
@ -388,3 +388,15 @@ Note regarding different variables used in the code
|
||||
* a ``daemon_id`` is typically ``<service_id>.<hostname>.<random-string>``.
|
||||
(Not the case for e.g. OSDs. OSDs are always called OSD.N)
|
||||
* a ``daemon_name`` is ``<daemon_type>.<daemon_id>``
|
||||
|
||||
|
||||
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
|
||||
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]``.
|
||||
|
||||
.. _Python Zip Application: https://peps.python.org/pep-0441/
|
||||
|
Loading…
Reference in New Issue
Block a user