File System Corruption and Application Rollback Question

Suppose due to a hardware error in the flash file system the code for a Legato application installed using the update command is corrupted. Would the following happen when an attempt is made to start the application:

  • a checksum error on the application code is detected.
  • the application is rolled back to the previously installed version.

The documentation I’ve seen suggests this but is not entirely clear. Also there seems to be some role for a configuration tree, it appears to be created automatically, does the application have to do anything explicitly?

Thanks for any advice.

here says:

If the overlay version of the runtime environment ever gets corrupted, the factory install version of Legato will replace the faulty version. If a new version of Legato is installed through the `` .cwe install process, that new version of Legato will then replace and become the new base version.

Thanks for the reference. So everything under /legato will get restored including applications?

I think so

the factory install version of Legato will replace the faulty version.

Thanks for the help.