When developing, testing and diagnosing (i.e. being logged in to the device), it is useful to be able to trigger a check if there is any update available, rather than waiting until the next update poll to happen.
Note that this functionality is only useful when running Mender in managed mode. If you are running in standalone mode then you are already able to trigger updates manually.
Because this is for managed mode, we can assume that the mender daemon is already running, and -check-update would just make the existing mender daemon it check for updates now instead of waiting until the next poll interval kicks in.
- New mender CLI option to trigger update check towards server
- update check is carried out by the mender daemon already running
- if there is an update available, the install and reboot carries on, just like if a poll interval was hit