Nerves firmware for ex_nvr
.
The current supported platforms are:
Platform | Description |
---|---|
ExNVRSystemRpi4 | Custom Raspberry Pi 4 image based on the official nerves image |
ExNVRSystemRpi5 | Custom Raspberry Pi 5 image based on the official nerves image |
This nerves image is tailored for Evercam use case. So it should be used as an example for anyone who wants to create an ex_nvr
nerves image for his own usage.
In Evercam, we use grafana-agent and netbird. So we include the binaries directly in the nerves image as it is easier than creating a busybox config to install them.
The mix task firmware.deps
is responsible for downlading the dependencies.
We need to provide the environment variables at compile time. Create a .env
file (you can check .env.sample
for the needed env variables) and fill
the values.
To create a firmware, run
source .env
mix deps.get
mix firmware