Hi All,

I am trying to generate a custom image using the MiC tool. I ran in to
issues and am still unable to find out what is going wrong.

Mine is a Fedora 12 running in virtual box from win XP.

I have the following installed:

My System:
------------------------------------------------------------------------------------------------------------------------------
[r...@er00595p Meego]# sudo yum install mtd-utils mtd-utils-ubi
qemu-arm-static
Loaded plugins: presto
Setting up Install Process
Package mtd-utils-1.3.1-1.1.i386 already installed and latest version
Package mtd-utils-ubi-1.3.1-1.1.i386 already installed and latest version
Package qemu-arm-static-0.12.3-10.1.i386 already installed and latest
version
Nothing to do

[r...@er00595p Meego]# sudo yum install mic2
Loaded plugins: presto
Setting up Install Process
Package mic2-0.17-35.1.i686 already installed and latest version
Nothing to do

[r...@er00595p Meego]# yum install syslinux
Loaded plugins: presto
Setting up Install Process
Package syslinux-3.85-6.1.i386 already installed and latest version
Nothing to do
--------------------------------------------------------------------------------------------------------------------------------------
Here is the snapshot of the mic2.conf

[main]
cachedir=/var/tmp/cache
tmpdir=/var/tmp
outdir=.
distro_name=MeeGo
#proxy=http://xxxx:x...@xxxx:xx/
#no_proxy=localhost,127.0.0.0/8,.yourcompany.com
image_format=raw # i change this to make various image formats
default_ks=default.ks
use_comps=1
--------------------------------------------------------------------------------------------------------------------
And here is my .ks

lang en_US.UTF-8
keyboard us
timezone US/Eastern
auth --useshadow --enablemd5
rootpw meego

repo --name=Meego    --baseurl=
http://repo.meego.com/MeeGo/builds/0.9/0.9.80.3.20100518.1/core/repos/armv5tjel/packages

%packages

kernel-n900
fastinit
udev
#nokia-n900-configs

rpm
passwd

xorg-x11-server
xorg-x11-drv-fbdev
xterm

iproute
iputils
net-tools
wireless-tools
openssh-server
openssh-clients
wget

vim
nano

qt
python
perl

connman

ofono

# closed source packages:
#bme-rx-51
#dsme
#bt-firmware
#wl1251-firmware

%end


%post

### free some space
yum clean all;
rm /usr/lib/locale/locale-archive;
localedef -f UTF-8 -i en_US en_US.UTF-8;

### enable serial login
echo "s0:23:respawn:/sbin/agetty -L 115200 ttyS0 vt100" >> /etc/inittab;
rm -f /core*;
rpm --rebuilddb;
%end
------------------------------------------------------------------------------------------------------------------------------------------
I run the following command to generate the image:

sudo mic-image-creator --cache=mycachedir --format=livecd --arch=armv5tel
--config=mine.ks

I tried running various types of images (livecd, liveusb, ubi, raw or loop).
But none of the images are generated.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Here is the list of errors:

Livecd image creation:
------------------------------------------------------------------------------------------------------------------------------------------------
This filesystem will be automatically checked every 30 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
tune2fs 1.41.9 (22-Aug-2009)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Retrieving
http://repo.meego.com/MeeGo/builds/0.9/0.9.80.3.20100518.1/core/repos/armv5tjel/packages/repodata/repomd.xml...OK

Error: failed to create image : Failed to find package 'syslinux' : No
package(s) available to install
----------------------------------------------------------------------------------------------------------------------------------------------------
I have syslinux in my fedora, but i don't see it in the repo. Is it a
genuine mistake?
Is that the cause of this error?
ubi image creation
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[r...@er00595p Meego]# sudo mic-image-creator --cache=mycachedir
--format=ubi --arch=armv5tel --config=arm-n900-closed.ks
[main]
use_comps=1
default_ks=default.ks
cachedir=/var/tmp/cache
proxy=http://raviaru:[email protected]:80/
distro_name=MeeGo
image_format=ubi
tmpdir=/var/tmp
outdir=.




Error: Image format 'ubi' not supported
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Where as mtd-utils are installed in my system. What is the cause of this
error? Is there any changes to kernel ne eded?

liveusb image:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
tune2fs 1.41.9 (22-Aug-2009)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Retrieving
http://repo.meego.com/MeeGo/builds/0.9/0.9.80.3.20100518.1/core/repos/armv5tjel/packages/repodata/repomd.xml...OK

Error: failed to create image : Failed to find package 'syslinux' : No
package(s) available to install
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Sorry for making such a long mail, I am stuck here as i cannot proceed in
making my image.

Could any one help me?

Thanks in advance

Regards
Arun
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to