Skip to content

Commit

Permalink
Improve swupdate completion documentation
Browse files Browse the repository at this point in the history
Outcome of the discussion in #517.

Signed-off-by: Jan Kiszka <[email protected]>
  • Loading branch information
jan-kiszka authored and BaochengSu committed Jan 12, 2024
1 parent 7cb62dd commit aa77bbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,12 @@ $ complete_update.sh
```
The script sets the update state in the EFI Boot Guard configuration to the
initial state.
"success" state. It shall be considered as a placeholder for a more precise
logic which first needs to validate if the new image version is sufficiently
functional to accept the next update. The exact condition for this depends on
the concrete integration and the way how updates are deployed to the device.
If the update happens over network, checking the connection to the update
server first before confirming the update is strongly recommended.
If the update is deemed failed, resetting the device will select the previous
root file system.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ SRC_URI = "file://complete_update.sh"
DEBIAN_DEPENDS = "efibootguard"

do_install() {
# add board status led service
install -v -d ${D}/usr/bin
install -v -m 644 ${WORKDIR}/complete_update.sh ${D}/usr/bin/complete_update.sh
}

0 comments on commit aa77bbd

Please sign in to comment.