The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)
Nemo/Creating Releases
(→RND) |
|||
Line 5: | Line 5: | ||
* Logged in to Mer SDK | * Logged in to Mer SDK | ||
− | == Getting the build script and configs == | + | == Background == |
+ | |||
+ | Nemo has three levels or phases on repositories. First is '''devel''' level that contains the latest and the greatest. To this level commits are done by developers and for packages that have been converted to git format the the updates are coming straight from the git commits see [[Nemo/Development]]. Because of this there can be occasional breakages in the devel. | ||
+ | |||
+ | After devel comes '''testing''' to which packages are submitted usually with creq's by the maintainer/qa person who tests the packages and accepts them. | ||
+ | |||
+ | Last phase is '''stable''' that is currently not used, but it will contain more testing and where nothing should not break. | ||
+ | |||
+ | == Repository snapshots == | ||
+ | |||
+ | === Creating the snapshot === | ||
+ | |||
+ | Tool for creating the snapshot is available at https://github.com/nemomobile/release-tools and is used to create a snapshot and update the links. To create for example testing snapshot call | ||
+ | ./nemo-snapshot.sh testing | ||
+ | |||
+ | '''NOTE:''' This script currently assumes that you are on crepo server and have certain permissions and directories. | ||
+ | |||
+ | == Images == | ||
+ | |||
+ | === Getting the build script and configs === | ||
# Create new directory for Nemo Releases | # Create new directory for Nemo Releases | ||
Line 29: | Line 48: | ||
cp builder.conf.tmpl builder.conf | cp builder.conf.tmpl builder.conf | ||
− | == Creating mic cmdlines to test individual image creation == | + | === 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 | 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 | ./builder.py --use-ks-dir=../nemo-kickstarter-configs/nemo-ks/ --release-id=latest | ||
− | == Building the release == | + | === Building the release images === |
− | === Release === | + | ==== Release ==== |
The release images are done with following command: | 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 | sudo ./builder.py --use-ks-dir=../nemo-kickstarter-configs/nemo-ks/ --release-id=latest --extra-filter=-pandaboard,-rnd --run-mic | ||
− | === RND === | + | ==== 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.<br> | 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.<br> | ||
Example below will create all RND images except for the PandaBoard: | 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 | 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 |
Revision as of 05:55, 26 April 2013
This page guides how to build Nemo Mobile releases.
Contents |
Prerequisites
- Mer Platform SDK installed
- Logged in to Mer SDK
Background
Nemo has three levels or phases on repositories. First is devel level that contains the latest and the greatest. To this level commits are done by developers and for packages that have been converted to git format the the updates are coming straight from the git commits see Nemo/Development. Because of this there can be occasional breakages in the devel.
After devel comes testing to which packages are submitted usually with creq's by the maintainer/qa person who tests the packages and accepts them.
Last phase is stable that is currently not used, but it will contain more testing and where nothing should not break.
Repository snapshots
Creating the snapshot
Tool for creating the snapshot is available at https://github.com/nemomobile/release-tools and is used to create a snapshot and update the links. To create for example testing snapshot call
./nemo-snapshot.sh testing
NOTE: This script currently assumes that you are on crepo server and have certain permissions and directories.
Images
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 images
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