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
Line 5: Line 5:
 
* Logged in to Mer SDK
 
* Logged in to Mer SDK
  
== Getting the build script ==
+
== Getting the build script and configs ==
  
 
  # Create new directory for Nemo Releases
 
  # Create new directory for Nemo Releases
 
  mkdir nemo-releases
 
  mkdir nemo-releases
 
  cd nemo-releases
 
  cd nemo-releases
   
+
 
 +
  # Install mer configs
 +
zypper install mer-kickstarter-configs
 +
 
 +
# Install nemo configs
 +
git clone git://github.com/nemomobile/nemo-kickstarter-configs.git
 +
cd nemo-kickstarter-configs
 +
sudo make install
 +
cd ..
 +
 
 +
# Install mer-kickstarter version 0.17
 +
# TODO
 +
 
 +
# Create kickstart files
 +
mer-kickstarter -c /usr/share/kickstarter-configs/nemo/release-latest/nemo-latest.yaml -o nemo-latest-ks/
 +
 
 
  # Get the daily image builder script that is used to do releases
 
  # Get the daily image builder script that is used to do releases
 
  git clone https://gitorious.org/image-building-tools/daily-image-builder
 
  git clone https://gitorious.org/image-building-tools/daily-image-builder
Line 22: Line 37:
  
 
After this you can test the release build. The extra -pandaboard filter is used as it is not part of the official Nemo releases.
 
After this you can test the release build. The extra -pandaboard filter is used as it is not part of the official Nemo releases.
  ./builder.py --use-ks-from-git --release-id=NEMO,latest-release --extra-filter=handset,-pandaboard
+
  ./builder.py --use-ks-dir=../nemo-latest-ks/ --release-id=NEMO,latest-release --extra-filter=handset,-pandaboard
  
 
If the cmdlines seem ok then you can do the release with
 
If the cmdlines seem ok then you can do the release with
  sudo ./builder.py --use-ks-from-git --release-id=NEMO,latest-release --extra-filter=handset --run-mic
+
  sudo ./builder.py --use-ks-dir=../nemo-latest-ks/ --release-id=NEMO,latest-release --extra-filter=handset --run-mic

Revision as of 19:58, 4 September 2012

This page guides how to build Nemo Mobile releases.

Prerequisites

Getting the build script and configs

# Create new directory for Nemo Releases
mkdir nemo-releases
cd nemo-releases
# Install mer configs 
zypper install mer-kickstarter-configs
# Install nemo configs
git clone git://github.com/nemomobile/nemo-kickstarter-configs.git
cd nemo-kickstarter-configs
sudo make install
cd ..
# Install mer-kickstarter version 0.17
# TODO
# Create kickstart files
mer-kickstarter -c /usr/share/kickstarter-configs/nemo/release-latest/nemo-latest.yaml -o nemo-latest-ks/
# Get the daily image builder script that is used to do releases
git clone https://gitorious.org/image-building-tools/daily-image-builder

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

Building the release

After this you can test the release build. The extra -pandaboard filter is used as it is not part of the official Nemo releases.

./builder.py --use-ks-dir=../nemo-latest-ks/ --release-id=NEMO,latest-release --extra-filter=handset,-pandaboard

If the cmdlines seem ok then you can do the release with

sudo ./builder.py --use-ks-dir=../nemo-latest-ks/ --release-id=NEMO,latest-release --extra-filter=handset --run-mic
Personal tools