Currently the examples (and other static data) are stored inside the arduino home folder.
Current location: ~/.local/share/arduino-app-cli
- This should also include moving the
~/.arduino15 folder contents. In this case we should put a specific config, in the default contents of the home partition, so that arduino-cli will look for the folder in a different location.
Reason
This is needed because at some point the arduino-flasher-cli will support keeping user data, by preserving the user partition (where the arduino home folder is mounted). And we cannot keep some static data in the preserved paths, otherwise that data would not match the software version that gets installed in the root partition (which is not preserved).