Meego Wiki
Views
From MeeGo wiki
Revision as of 22:50, 6 April 2010 by Gcobb (Talk | contribs)
Jump to: navigation, search

Contents

MIC on Debian

This page is designed to describe how to install the MeeGo Image Creator (MIC) on Debian to allow one to build MeeGo images on Debian.

Installing

MIC can be installed on Debian Squeeze using packages from MeeGo.

1. Add the following line to /etc/apt/sources.list:

deb http://repo.meego.com/tools/repo/Debian_5.0/ /

2. Install mic2

apt-get update
apt-get install mic2

Building a MeeGo image

The following line will build a USB image:

su -c "mic-image-creator --config=default.ks --format=liveusb --cache=mycache"

See http://wiki.meego.com/Image_Creation_For_Beginners or http://wiki.meego.com/Image_Creation for more information, including how to find/create a .ks file.

Known Bugs

1. Installing mic2 0.17 gives the following error message, which seems to not be a problem:

Processing triggers for python-support ...
Compiling /usr/lib/pymodules/python2.4/mic/appcreate/nand.py ...
 File "/usr/lib/pymodules/python2.4/mic/appcreate/nand.py", line 282
   finally:
         ^
SyntaxError: invalid syntax

2. The current Debian Squeeze package (mic2 0.17) does not work to chroot into a MeeGo image:

su -c "mic-chroot meego-codedrop-ia32-developer-201003311106.img"
Error: I can't recognize this image type.

It is possible to use the image without using mic-chroot:

  1. mkdir /mnt/meego
  2. losetup -f --show meego-codedrop-ia32-developer-201003311106.img
  3. mount /dev/loop0 /mnt/meego
  4. chroot /mnt/meego

However, the convenient bind mounts are not present.

Personal tools