Multiple files update

Hi guys,

I want to create a mender artifact for an application update. The application has many files and directories. If I were to update specific files only at multiple locations, how do I do it?

Thanks in advance.


Hi @SamanRatna you probably want something like the directory overlay update module. But depending on the details you may be better off with a custom update module for your specific use case.

I am not being able to understand the proper implementation of directory overlay. Can you help me grasp it?



It basically allows you to deploy files scattered throughout the filesystem. It essentially takes a tarball and extracts it so that if you have multiple subdirectories in the artifact the files within those directories will be updated.