Embedded Elixir (without Nerves)

Lasse Ebert
Aug 29, 2018 · 5 min read
A bunch of embedded linux boxes I use for test

My use case

How to add Erlang to a buildroot configuration?

Selecting erlang in the buildroot config tool

So how is Elixir installed, then?

Listing included libraries from a Distillery release

Deploying a Distillery release to the linux image

Don’t include ERTS when building for embedded.

Running the release on a read-only file system

HOME=/data/balrog/ \
RELEASE_MUTABLE_DIR=/data/balrog/ \
LC_ALL=en_US.UTF-8 \
PIDFILE=/tmp/balrog.pid \
/balrog/bin/balrog start

Further reading and investigation

Lasse Ebert

Written by

Developer, Elixir

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade