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(Difference between revisions)
Jump to: navigation, search
(Getting the build script and configs)
Line 19: Line 19:
  
 
  # Create kickstart files
 
  # Create kickstart files
  mer-kickstarter -e . -c release-latest/nemo-latest.yaml -o nemo-latest-ks/
+
  mer-kickstarter -c repos.yaml -o nemo-ks/
 
  cd ..
 
  cd ..
  
Line 29: Line 29:
 
  cp builder.conf.tmpl builder.conf
 
  cp builder.conf.tmpl builder.conf
  
== Building the release ==
+
== Creating mic cmdlines to test individual image creation ==
  
After this you can test the release build. The extra -pandaboard filter is used as it is not part of the official Nemo releases.
+
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-latest-ks/ --release-id=NEMO,latest --extra-filter=-pandaboard
+
  ./builder.py --use-ks-dir=../nemo-kickstarter-configs/nemo-ks/ --release-id=latest
 +
 
 +
== Building the release ==
  
If the cmdlines seem ok then you can do the release with
+
The release images are done with following command:
  sudo ./builder.py --use-ks-dir=../nemo-kickstarter-configs/nemo-latest-ks/ --release-id=NEMO,latest --extra-filter=-pandaboard --run-mic
+
  sudo ./builder.py --use-ks-dir=../nemo-kickstarter-configs/nemo-ks/ --release-id=latest --extra-filter=-pandaboard,-rnd --run-mic

Revision as of 16:52, 3 April 2013

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

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
Personal tools