Document that `name`, `version`, `install-if-higher`, and
`install-if-different` are also accepted for scripts in
`sw-description`. This is necessary to ensure that `emmc_boot`,
`emmc_boot_toggle`, and scripts that switch the rootfs between A and B
run only when the corresponding image has actually been flashed.
Signed-off-by: Dominik Schütz <
dominik...@ropa-maschinenbau.de>
---
doc/source/sw-description.rst | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/source/sw-description.rst b/doc/source/sw-description.rst
index 3934994e..6933f4c7 100644
--- a/doc/source/sw-description.rst
+++ b/doc/source/sw-description.rst
@@ -1509,12 +1509,12 @@ There are 4 main sections inside sw-description:
+-------------+----------+------------+---------------------------------------+
| name | string | images | name that identifies the sw-component |
| | | files | it can be any string and it is |
- | | | | compared with the entries in |
+ | | | scripts | compared with the entries in |
| | | | sw-versions |
+-------------+----------+------------+---------------------------------------+
| version | string | images | version for the sw-component |
| | | files | it can be any string and it is |
- | | | | compared with the entries in |
+ | | | scripts | compared with the entries in |
| | | | sw-versions |
+-------------+----------+------------+---------------------------------------+
| description | string | | user-friendly description of the |
@@ -1525,12 +1525,12 @@ There are 4 main sections inside sw-description:
+-------------+----------+------------+---------------------------------------+
| install-if\ | bool | images | flag |
| -different | | files | if set, name and version are |
- | | | | compared with the entries in |
+ | | | scripts | compared with the entries in |
| | | | sw-versions |
+-------------+----------+------------+---------------------------------------+
| install-if\ | bool | images | flag |
| -higher | | files | if set, name and version are |
- | | | | compared with the entries in |
+ | | | scripts | compared with the entries in |
| | | | sw-versions |
+-------------+----------+------------+---------------------------------------+
| install-if\ | bool | images | flag |
--
2.55.0