X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=doc%2Fcomponents.rst;fp=doc%2Fcomponents.rst;h=fed52a1dadab7c8cf24fff75099debf6e26c4aae;hb=d61806e79788d996581311d2eb25bc043c37435a;hp=0000000000000000000000000000000000000000;hpb=cf9e0cd6f7caf7b171457f7bf9f56f23ec3e478c;p=petitboot diff --git a/doc/components.rst b/doc/components.rst new file mode 100644 index 0000000..fed52a1 --- /dev/null +++ b/doc/components.rst @@ -0,0 +1,29 @@ +Petitboot Components +==================== + +Server +------ + +The core of Petitboot is the ``pb-discover`` process. This performs initial setup, discovers and configures devices, and handles configuration options or quirks saved or set by the platform. + +UI Clients +---------- + +The ``ui/`` directory contains client processes that implement a user interface. The primary interface is ``petitboot-nc`` which is based on ncurses and provides the full range of options for interaction and configuration. + +There is also a twin-based interface under ``ui/twin/`` however this is largely a remnant from the PS3 and does not implement more recent functionality. + +Clients generally take no direct action themselves, instead communcating via the "pb-protocol" interface to the ``pb-discover`` server to request actions. + +Utilities +--------- + +A number of smaller utilities exist to perform some specific tasks, including: + +pb-console: Initial console setup and UI startup +pb-config: Trimmed down 'client' that can request information from the ``pb-discover`` server. +pb-event: Provides a callable script to send user events to ``pb-discover`` - usually used by other utilities such as ``udhcpc`` to report network information. +pb-exec: Simple wrapper for running programs from the UI +pb-plugin: Implements the petitboot-plugin interface +pb-sos: Collects diagnostic and crash information +boot hooks: Small hooks to be run immediately before boot.