Meego Wiki
Views

Distribution/Create image based on new RPM

From MeeGo wiki
Jump to: navigation, search

Create new image based on new RPM

If you can’t launch MeeGo on your device, such as you need update kernel, in such case, you need create a new image based on your new RPMs.


Steps as follows:

  • Create local repo for your new RPM
 cp *.rpm /var/tmp/localrepo/
 cd /var/tmp/localrepo/
 createrepo .
  • Modify ks file to add local repo

Original ks file can be found with image, for example meego-ivi-ia32-1.2.0.ks can be found http://repo.meego.com/MeeGo/releases/1.2.0/images/meego-ivi-ia32/

Once you get the ks file, what you need to do is adding the follow line to ks file:

 repo --name=local --baseurl=file:///var/tmp/localrepo/ --save
  • Run mic2 using the new ks file to generate image

More mic2 information can reference to Image Creation

Here’s an example:

 /usr/bin/mic-image-creator --config=/root/mic/ivi-ia32.ks 

Once mic-image-creator finished, you can find the new image from the output information.

  • Using the new image to install or boot up on device.
Personal tools