diff mbox series

doc: show that IPC selection should be accepted by swupdate

Message ID 20240204005254.304921-1-m.belouarga@technologyandstrategy.com
State Accepted
Headers show
Series doc: show that IPC selection should be accepted by swupdate | expand

Commit Message

Mohamed Belouarga Feb. 4, 2024, 12:52 a.m. UTC
From: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>

In nowhere, it is noticed that accepted-select option should be set in orther to get
IPC selection get accepted by swupdate.

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
---
 doc/source/swupdate-ipc-interface.rst | 3 ++-
 doc/source/swupdate.rst               | 5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/doc/source/swupdate-ipc-interface.rst b/doc/source/swupdate-ipc-interface.rst
index 016ee2f..cf62d2a 100644
--- a/doc/source/swupdate-ipc-interface.rst
+++ b/doc/source/swupdate-ipc-interface.rst
@@ -129,7 +129,8 @@  other fields as:
         - *dry_run* : one of RUN_DEFAULT (set from command line), RUN_DRYRUN, RUN_INSTALL.
         - *info, len* : a variable length data that can be forwarded to the progress
           interface. The installer in SWUpdate does not evaluate it.
-        - *software_set* and *running_mode* : this allows one to set the `selection` for the update.
+        - *software_set* and *running_mode* : this allows one to set the `selection` for the update,
+          it should be accepted by swupdate (-q, --accepted-select option when swupdate is launched).
 
 Functions to set AES keys
 -------------------------
diff --git a/doc/source/swupdate.rst b/doc/source/swupdate.rst
index 2322c40..ff00ca0 100644
--- a/doc/source/swupdate.rst
+++ b/doc/source/swupdate.rst
@@ -573,6 +573,11 @@  Command line parameters
 +-------------+----------+--------------------------------------------+
 | -p <cmd>    | string   | Execute post-update command.               |
 +-------------+----------+--------------------------------------------+
+| -q <sel>    | string   | List for software images set and source    |
+|             |          |             that are accepted via IPC      |
+|             |          |             Ex.: stable,main               |
+|             |          |             it can be set multiple times   |
++-------------+----------+--------------------------------------------+
 
 Downloader command line parameters
 ..................................