Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The purpose of this Pull Request is to add support to update modules (#40)
No examples are available at the moment. To use modules, the module type should be registered to the mender client just after
mender_cleint_init
is called, as shown on the following skeleton:The callback is used to retrieve module content when a deployment is in progress. Because this mechanism is generic, the mender client doesn't provide much more support and specific application implementation should be done depending of the module.
Multiple modules types can be registered. Support of artifact name verification after reboot is also provided to report success/failure after installation (latest argument of the
mender_client_register_artifact_type
function).