@@ -139,42 +139,43 @@ points to the correct directory.
139139That way, installed artifacts can be found by following
140140``/run/rauc/artifacts/<repository-name>/<artifact-name> ``.
141141
142- React to a Successfully Booted System/Failed Boot
143- -------------------------------------------------
142+ Marking a Boot as Successful or Failed
143+ --------------------------------------
144144
145- Normally, the full system update chain is not complete before being sure that
146- the newly installed system runs without any errors.
147- As the definition and detection of a `successful ` operation is really
148- system-dependent, RAUC provides commands to preserve a slot as being the
149- preferred one to boot or to discard a slot from being bootable.
145+ A system update is only considered complete once the newly installed system has
146+ been confirmed to be running correctly.
147+ Since the definition and detection of a successful boot is system-dependent,
148+ RAUC provides explicit commands and a :ref: `D-Bus Method
149+ <gdbus-method-de-pengutronix-rauc-Installer.Mark>` to mark the booted slot
150+ group as either good (confirmed working) or bad (non-working).
150151
151152.. code-block :: console
152153
153154 # rauc status mark-good
154155
155- After verifying that the currently booted system is fully operational, one
156- wants to signal this information to the underlying bootloader implementation
157- which then, for example, resets a boot attempt counter.
156+ Once the currently booted system is verified as fully operational, run this
157+ command to signal success to the bootloader.
158+ Depending on the bootloader backend, this typically resets a boot attempt
159+ counter and confirms the current slot as the active one.
160+
158161
159162.. code-block :: console
160163
161164 # rauc status mark-bad
162165
163- If the current boot failed in some way, this command can be used to communicate
164- that to the underlying bootloader implementation .
165- In most cases this will disable the currently booted slot or at least switch to
166- a different one.
166+ If the current boot has failed, run this command to signal failure to the
167+ bootloader.
168+ Depending on the bootloader backend, this will either disable the currently
169+ booted slot or switch to a different one.
167170
168- Although not very useful in the field , both commands recognize an optional
169- argument to explicitly identify the slot to act on :
171+ To maintain consistency with `` rauc status mark-active `` , both commands accept
172+ an optional slot argument :
170173
171174.. code-block :: console
172175
173176 # rauc status mark-{good,bad} [booted | other | <SLOT_NAME>]
174177
175- This is to maintain consistency with respect to ``rauc status mark-active ``
176- where that argument is definitively wanted, see :ref: `here
177- <optional-slot-identifier-argument>`.
178+ In practice this is rarely needed.
178179
179180.. _mark-active :
180181
0 commit comments