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 06:26, 8 April 2013 by Sage (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 token-map:

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