Meego Wiki
Views

Image Configurations - KickStart Files

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Kickstarter)
(Kickstarter)
Line 23: Line 23:
Example:
Example:
-
kickstarter  --configs configurations.yaml --repos repos.yaml  
+
  kickstarter  --configs configurations.yaml --repos repos.yaml  
Configuration file:
Configuration file:
-
This configuration.yaml file here is an example only, for meego kickstart files,
+
  The "configuration.yaml" file here is an example only, for meego kickstart files,
-
consult the image-configurations package
+
  consult the image-configurations package.
-
This file has the definition of configurations. The Configurations inherit  
+
 
-
from platforms first then from the DEFAULT section. The image configurations
+
  This file has the definition of configurations. The Configurations inherit  
-
override the all other settings (in DEFAULT and platform sections).
+
  from platforms first then from the DEFAULT section. The image configurations
 +
  override the all other settings (in DEFAULT and platform sections).
Repo file:
Repo file:
-
This file contains a list of repositories to be used in the kickstart files.
+
  This file contains a list of repositories to be used in the kickstart files.

Revision as of 03:09, 6 July 2011

KickStart (.ks) configuration files are passed to MIC2 to create tailored images. KickStart files specify what repos to pull from, what packages to include, what post-scripts to run and what type of images to create.

For more details about the kickstart format, see http://fedoraproject.org/wiki/Anaconda/Kickstart.

Note that not all KickStart directives and options are supported for creating Meego images. MIC2 also adds some specific directives and options. More explained below

Contents

Official Meego .ks files

The official Meego .ks files are here:

   For ARM based Nokia N900: http://repo.meego.com/MeeGo/builds/trunk/ <version>/handset/images/meego-handset-armv7l-n900/
   For Intel Atom based netbook and handset (Moorestown): http://repo.meego.com/MeeGo/builds/trunk/ <version>/{netbook,handset,ivi}/images/<respective directory>/ 

You can download and use them as a base for the Meego images you create. Modify these .ks files as you wish to create tailored images.

MeeGo Patterns

Modify your .ks

Developers may want to modify the .ks files to create their own custom images. Here are the main options and sections within the .ks file.

You can also find in-depth .ks option information here: http://fedoraproject.org/wiki/Anaconda/Kickstart#Chapter_2._Kickstart_Options

Kickstarter

Kickstarter is a tool for create kickstart files to build meego images

Example:

 kickstarter  --configs configurations.yaml --repos repos.yaml 

Configuration file:

 The "configuration.yaml" file here is an example only, for meego kickstart files,
 consult the image-configurations package.
 This file has the definition of configurations. The Configurations inherit 
 from platforms first then from the DEFAULT section. The image configurations
 override the all other settings (in DEFAULT and platform sections).

Repo file:

 This file contains a list of repositories to be used in the kickstart files.
Personal tools