Introduction

The SDK (Software Development Kit) is a VirtualBox image. The SDK should be an independent reference building machine. It should not interfere with users host system.

The VM consists of a minimal Gentoo Linux installation without graphical user interface support. Installed is crossdev with the armv7-hf cross compiler toolchain.

The SDK is supposed to have access to the internet in order to be able to clone this repository and to get the open-source-packages needed to fill the containers. Therefore one Ethernet interface must be bridged to the SDK.

To exchange files from the host with the SDK a VirtualBox feature called "shared folder" can be used.

Install the SDK

First steps within the SDK

Usage of SDK

Normally you will always log in as "user" via VirtualBox. It's recommended to use SSH to login to the SDK (ssh user@192.168.2.3) instead of the console that VirtualBox gives you after starting the SDK. In case your host system doesn't have an built in SSH client you might try Putty.

Normally you will use the scripts that came with the repository. Enter the directory:


user@m3sdk ~ $ cd M3_Container

Read more about the directories and files of this repository in doc/Directories_and_files.md.

Using shared folders with SDK

In order to exchange file between SDK and host system more comfortably VirtualBox comes with a feature called "Shared folders". Via VirtualBox GUI you can define one ore more directories, that can be mounted by the SDK. The files within the directory will stay on your host system. They can be read and modified within the SDK.

This is useful to get easy access to the update packages with the final container. It's also very comfortable to edit the sources of your own applications with the graphical editor you are used to and share these files with the SDK, which can use them to compile and package them.

To add a "shard folder":

Add more shared folders as you like, e.g. directories in ~/M3_Container/closed_source, that will contain your own applications. Within the SDK every new shared folder must be configured in "/etc/local.d/vboxsf_mount.start".