Axon distro
In this guide we are going to use a layer called meta-axon to hold:
- the axon recipe application
- the axon scenic recipe application
- axon-image-minimal, a basic image to run axon application
- axon-image-x11, a basic image with x11 to run axon scenic demo application
- axon-embedded-image-minimal, a very basic image with axon application and erlang embedded init script package group, with erlinit as replacement for '/sbin/init'
The idea is to show two examples about how to run erlang and elixir applications. However this layer is just to demonstration purposes.
In order to test the axon layer and build images, the first step is clone the layer repository:
cd $HOME
git clone https://github.com/joaohf/meta-axon.git
Then, go to the previous build environment directory and add meta-axon to 'conf/bblayers.conf':
bitbake-layers add-layer $HOME/meta-axon
Now its time to build the images and runqemu to check the results:
- Emebedded erlang application:
bitbake axon-image-minimal
runqemu axon-image-minimal
- Embedded elixir application with scenic:
bitbake axon-image-x11
runqemu axon-image-x11
The follow screenshot shows a qemu session running axon scenic application: