Prerequisites and Requirements
Building Enea Linux or compiling applications requires that your git
environment be setup properly and for certain packages to be installed on
your Linux development host. The following chapter details the
configurations needed on the build environment in order to properly use Enea
Linux.
Git Configuration
If you intend to get Enea Linux sources and build Enea Linux
yourself, you will need Git installed in your build environemtn. Please
refer to Getting
Started - First-Time Git Setup, for more details on how to set up
your git environment correctly, including how to set your identity using
the following commands:
$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com
Host Packages
In order to work with Enea Linux, you need a set of tools installed
on the build machine, depending on the scenario you use. The following
chapters will describe what tools to install on the build machine.
Using Pre-Build Binaries
Using the pre-built binaries, you can get up and running more
quickly. Since building is not required, there are not a lot of packaes
and tools that need to be installed but a few are still required:
wget - for downloading the Enea Linux binaries
tar - for decompressing the Enea Linux release
tftpboot server - for deploying Enea Linux on target
NFS server - in case you want to mount the root file system
over NFS
Required Packages for the Host Development System
Building Enea Linux requires a set of packages to be installed on
your Linux development host. The list of required packages is described
in the Yocto
Project reference manual.
Default Shell Configuration
Before installing Enea Linux, make sure that
bash is the default shell.
To verify the default system
shell
If your system runs Ubuntu, use list to verify if
/usr/bin is a symbolic link to bash:
# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2012-03-02 11:53 /bin/sh -> bash
Optionally, in case the link points to dash,
change it through the following steps:
# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2012-03-02 11:53 /bin/sh -> dash
# sudo dpkg-reconfigure dash
Use dash as the default system shell (/bin/sh)? No