Meego Wiki
Views
From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Building: Use politically correct program name)
Line 3: Line 3:
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.
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==
+
=Installing=
MIC can be installed on Debian Squeeze using packages from MeeGo.
MIC can be installed on Debian Squeeze using packages from MeeGo.
Line 14: Line 14:
  apt-get install mic2
  apt-get install mic2
-
==Building==
+
=Building a MeeGo image=
-
The following line will build a USB image (''note: currently being tested -- gcobb''):
+
The following line will build a USB image:
  su -c "mic-image-creator --config=default.ks --format=liveusb --cache=mycache"
  su -c "mic-image-creator --config=default.ks --format=liveusb --cache=mycache"
Line 23: Line 23:
for more information, including how to find/create a .ks file.
for more information, including how to find/create a .ks file.
-
==Known Bugs==
+
=Known Bugs=
1. Installing mic2 0.17 gives the following error message, which seems to not be a problem:
1. Installing mic2 0.17 gives the following error message, which seems to not be a problem:
Line 38: Line 38:
  su -c "mic-chroot meego-codedrop-ia32-developer-201003311106.img"
  su -c "mic-chroot meego-codedrop-ia32-developer-201003311106.img"
  Error: I can't recognize this image type.
  Error: I can't recognize this image type.
 +
 +
It '''is''' possible to use the image without using ''mic-chroot'':
 +
 +
# mkdir /mnt/meego
 +
# losetup -f --show meego-codedrop-ia32-developer-201003311106.img
 +
# mount /dev/loop0 /mnt/meego
 +
# chroot /mnt/meego
 +
 +
However, the convenient bind mounts are not present.

Revision as of 22:50, 6 April 2010

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