Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates: support update of "modules" #40

Closed
joelguittet opened this issue May 9, 2024 · 1 comment
Closed

updates: support update of "modules" #40

joelguittet opened this issue May 9, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@joelguittet
Copy link
Owner

The purpose of this ticket is to integrate capability to update "modules". This can be used to update images, embedded files, etc... The Zephyr example will be updated to show how this feature can be used to load and execute LLEXT modules.

The artifact format is defined by mender and it is created with mender-artifact tool. It will embed all files of the wanted module in the 0000 entry. The artifact type is specified during its creation so any string is allowed.
Particularly it is possible to use the string "rootfs-image", but the mender server sanity check will refuse to upload the artifact so using this trick will not work. Also note that the type mender-configure is reserved for configure add-on deployments.

Solution: the function mender_client_download_artifact_callback should be able to handle other types of artifacts customized for each application. A single application should be able to use multiple types as well (depending of the module to be updated, configuration files, images, etc) and should still be able to use the default rootfs-image type to perform software upgrade. Note the application can also be upgraded using module artifact if required.

References:

@joelguittet joelguittet added the enhancement New feature or request label May 9, 2024
@joelguittet joelguittet self-assigned this May 9, 2024
@joelguittet
Copy link
Owner Author

This enhancement has been integrated in #43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant