I have thousands of arm64 based IoT devices in end users home running armbian (systemd based). And an elixir based agent.
The trouble is:
- I do the development on my x86 based linux (also I have m1pro based macos), How could I cross compile my code to armv8 binary?
- When I want an OTA for my agent, I have to download/extract the release directory and then call the systemd restart agent.service. Is it possible to compile my project into a single file to make upgrading process easier?