Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.22 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.22 KB

ExNVR Nerves

Nerves firmware for ex_nvr.

Supported Platforms

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

Usage

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.

Dependencies

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.

Env variables

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.

Building a firmware

To create a firmware, run

source .env
mix deps.get
mix firmware