The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Nemo/Creating Releases

From Mer Wiki
< Nemo
Revision as of 10:41, 23 April 2013 by Simonasl (Talk | contribs)

Jump to: navigation, search

This page guides how to build Nemo Mobile releases.

Contents

Prerequisites

Getting the build script and configs

# Create new directory for Nemo Releases
mkdir nemo-releases
cd nemo-releases
# Install mer configs and mer-kickstarter
zypper install mer-kickstarter-configs mer-kickstarter
# Install nemo configs
git clone git://github.com/nemomobile/nemo-kickstarter-configs.git
cd nemo-kickstarter-configs
# Create kickstart files
mer-kickstarter -c repos.yaml -o nemo-ks/
cd ..
# Get the daily image builder script that is used to do releases
git clone git://gitorious.org/image-building-tools/daily-image-builder.git
cd daily-image-builder

Next thing is to configure the script for your needs. The default config should be fine though

cp builder.conf.tmpl builder.conf

Creating mic cmdlines to test individual image creation

Following command lists all the mic cmdlines for the .ks files that can be used to create individual images manually

./builder.py --use-ks-dir=../nemo-kickstarter-configs/nemo-ks/ --release-id=latest

Building the release

Release

The release images are done with following command:

sudo ./builder.py --use-ks-dir=../nemo-kickstarter-configs/nemo-ks/ --release-id=latest --extra-filter=-pandaboard,-rnd --run-mic

RND

The rnd image creation differs a bit, for that you need to give filter rnd instead of -rnd and also you need to give FLAVOUR and SSU_RELEASE_TYPE as values to the tokenmap.
Example below will create all RND images except for the PandaBoard:

sudo ./builder.py --use-ks-dir=../nemo-kickstarter-configs/nemo-ks/ --release-id=latest --extra-filter=-pandaboard,rnd --tokenmap=SSU_RELEASE_TYPE:rnd,FLAVOUR:devel --run-mic
Personal tools