* Fedora 12/13/14, Ubuntu 10.10 or other mic compatible linux distribution. * Required tools, e.g., qemu-arm-static, btrfs-progs and uboot-tools * MeeGo Image Creator tool from MeeGo tools repository
Insert the suitable .repo file for you system from: http://repo.meego.com/MeeGo/tools/repos/fedora/ to /etc/yum.repos.d/
This is likely now broken as the F11 repository is now empty.
For fedora 12 and later, install the qemu-arm-static from Fedora 11 repository:
sudo rpm -Uvh http://repo.meego.com/MeeGo/tools/repos/fedora/11/i386/qemu-arm-static-0.12.3-1.2.i386.rpm
Install the required package:
sudo yum install btrfs-progs mic2
Add the MeeGo Tools repository for Fedora 14 to your /etc/yum.repos.d from here: http://repo.meego.com/MeeGo/tools/repos/fedora/14/meego-tools.repo
To that, you must also append the equivalent repository Fedora 13, otherwise you will not be able to install all packages due to missing dependencies. The file once merged should look something like this:
[meego-tools] name=MeeGo Tools type=rpm-md baseurl=http://repo.meego.com/MeeGo/tools/repos/fedora/14 gpgcheck=1 enabled=1 [meego-tools-13] name=MeeGo Tools 13 type=rpm-md baseurl=http://repo.meego.com/MeeGo/tools/repos/fedora/13 gpgcheck=1 enabled=1
Once that is done, you can now install mic2: sudo yum install mic2
Add MeeGo tools repository to your sources.list
for ubuntu 10.04
for ubuntu 10.10
Get and add the repository key (edit the path to match you ubuntu version).
wget http://repo.meego.com/MeeGo/tools/repos/ubuntu/10.10/Release.key sudo apt-key add Release.key && rm Release.key
Update package lists
sudo apt-get update
Install the packages
sudo apt-get install mic2 btrfs-tools qemu-arm-static
Create a working directory and copy your kickstart file there.
Latest kickstart files can be found gitorious (click appropriate branch and then tree).
NOTE: When using the kickstarts from the gitorious repository shown earlier, you also need to use --release= option in mic to get @BUILD_ID@ set properly. If you wish to build current daily, define --release=daily.
There are also kickstarts available with the weekly build repos, which will generate that specific weekly release.
Image will be created in working directory by default.
Packages will be cached in mycachedir to speed up the next image creation.
If you are behind a proxy, you can set it to mic by adding
sudo mic-image-creator --run-mode=0 --cache=mycachedir --format=loop --arch=armv7l --config=YOUR_KICKSTART
Create the image with following command:
sudo mic-image-creator --run-mode=0 --cache=mycachedir --format=raw --arch=armv7l --save-kernel --config=YOUR_KICKSTART
In the end of the mic-image-creator, the output files are listed. In this list, the file that contains raw in its name is the rootfs image and the file with vmlinuz is the kernel. For more information on writing the image/flashing the kernel, see the pages for the appropriate device, such as, N900 MMC installation.
warning: %post(libgcc-4.4.2-12.2.armv5tel) scriptlet failed, exit status 255
This is caused by SELinux, which can be disabled with:
echo "0" > /selinux/enforce
This fix is valid, until you reboot your device.