Mamona SDK 0.1

Installing QEMU

Please, Install QEMU before continue installing Mamona SDK.

Installing Debootstrap

sudo apt-get install debootstrap
sudo wget http://dev.openbossa.org/mamona/tools/debootstrap/mamona -O /usr/share/debootstrap/scripts/mamona

Notice that debootstrap versions previous than 1.0.7 (Ubuntu Gutsy and older) put the scripts on /usr/lib, instead of /usr/share. So, change the last line to:

sudo wget http://dev.openbossa.org/mamona/tools/debootstrap/mamona -O /usr/lib/debootstrap/scripts/mamona

Installing Mamona

Note: If you want to specify where your static QEMU ARM binary is installed on your system just export the QEMUUSER variable before doing debootstrap.

export BASEDIR=`pwd` # or whatever you wish
cd $BASEDIR
sudo debootstrap --arch arm mamona mamona-root http://dev.openbossa.org/mamona/0.1

Or if you want to bootstrap from your own repository (assuming you already sourced mamonarc)

sudo debootstrap --arch arm mamona mamona-root file://$MAMONA_HOME/tmp/$MAMONA_BRANCH/$MAMONA_MACHINE/deploy/deb-repository

Chrooting to Mamona

cd $BASEDIR
sudo mount -t proc proc mamona-root/proc
sudo mount --bind /dev mamona-root/dev
sudo chroot mamona-root

Installing development packages

apt-get install task-mamona-devel

Making compilation faster

Sometimes the complete emulated compilation is up to 23 times slower.

It is possible to make it faster using some special i386 packages inside your ARM chroot environment avoiding the QEMU emulation.

To set it up, follow the noemu 0.1 Repository instructions.

Using the source packages (.dsc)

These packages are used just to show detailed info. Do not use to rebuilt them.

Add this entry to sources.list file and update your apt data base:

deb-src http://dev.openbossa.org/mamona/0.1/ mamona main
apt-get update