http://wiki.meego.com/Image_Creation

 

This is to Create the meego image from the source code tree.

 

Currently, I use the src tree from the trunk,

 

http://repo.meego.com/MeeGo/builds/trunk/1.0.90.1.20100903.1/

 

 

 

 

1. Install git

sudo apt-get install git-core

 

2. Install the image-creator

http://wiki.meego.com/Image_Creation#Requirements

 

I build the image-creator src from

#git clone git://gitorious.org/meego-developer-tools/image-creator.git

#cd image-creator

#git checkout 0.17  #check Gitorious for the most recent tag

#make

#sudo make install

 

3. Create the RW Image for Meego Netbook Core

 

The kickstart file for the trunk src

http://repo.meego.com/MeeGo/builds/trunk/0.9.80.1.20100330.1/core/images/meego-preview-netbook-core/meego-preview-netbook-core.ks

 

* here we need to change .ks 's content.

@Core => @Meego Core

@Base => @Meego Base

 

And then

sudo mic-image-creator --cache=mycachedir --format=raw --config=meego-preview-netbook-core.ks

 

* Please make sure the format=raw. then it the generated object could

be executed in the QEMU environment.

 

4. Execute the RW Image in QEMU

sudo kvm -m 512 -boot c -hda meego-1.0.90-meego-preview-netbook-core-201009050731-sda.raw

(As it is only the core system, so no GUI will be output)

 

Then from another linux console, we can ssh the Meego Core system.

ssh [email protected] -p 6666

 

5. Create the RW Image for Meego Netbook ia32

The kickstart file for the trunk src

 

http://repo.meego.com/MeeGo/builds/trunk/1.0.90.1.20100903.1/netbook/images/meego-netbook-ia32/meego-netbook-ia32-1.0.90.1.20100903.1.ks

 

And then

sudo mic-image-creator --cache=mycachedir --format=raw --config=meego-preview-netbook-core.ks

 

It will output an error:

--debuginfo not supported.

 

That is because of the lower version image-creator.

 

We'd better

#cd image-creator

#git checkout 0.20.1  #check Gitorious for the most recent tag

#make clean

#make

#sudo make install

 

And do the mic-image-creator again.

 

6.  Execute the RW Image in QEMU

#sh ./qemugl_cmd.sh <image file>
This time the Meego GUI outputs.

 

你可能感兴趣的:(image,object,File,meego,output,2010)