Now, though sudo tools/mic-check-alldeps printed out a lovely message as " You
are ready for running Image Creator!!!".
But I still failed to create an image with command --
sudo mic-image-creator -c meego-netbook-chromium-ia32-1.0-20100524.1.ks -f vmdk
-k myc
under openSUSE 11.2.
I tried several times with different command lines, all returned the same
error, at the very beginning, it Failed to unmap partitions for '/dev/loop1',
now it Failed to unmap partitions for '/dev/loop9'.
Did anyone else get this error? Or succeeded under openSUSE 11.2?
Traceback (most recent call last):
File "/usr/bin/mic-image-creator", line 582, in <module>
ret = main()
File "/usr/bin/mic-image-creator", line 562, in main
creator.cleanup()
File "/usr/lib/python2.6/site-packages/mic/imgcreate/creator.py", line 647,
in cleanup
self.unmount()
File "/usr/lib/python2.6/site-packages/mic/imgcreate/creator.py", line 625,
in unmount
self._unmount_instroot()
File "/usr/lib/python2.6/site-packages/mic/appcreate/appliance.py", line 316,
in _unmount_instroot
self.__instloop.cleanup()
File "/usr/lib/python2.6/site-packages/mic/appcreate/partitionedfs.py", line
235, in cleanup
self.__unmap_partitions()
File "/usr/lib/python2.6/site-packages/mic/appcreate/partitionedfs.py", line
217, in __unmap_partitions
d['disk'].device)
mic.imgcreate.errors.MountError: Failed to unmap partitions for '/dev/loop9'
Exception mic.imgcreate.errors.MountError: MountError("Failed to unmap
partitions for '/dev/loop9'",) in <bound method ApplianceImageCreator.__del__
of <mic.appcreate.appliance.ApplianceImageCreator object at 0x89884ac>> ignored
----------------
Best Regards,
Brook Hong
>-----Original Message-----
>From: [email protected] [mailto:[email protected]]
>On Behalf Of Hong Brook (Nokia-MS/Beijing)
>Sent: Wednesday, July 07, 2010 5:21 PM
>To: [email protected]
>Subject: [MeeGo-dev] bug of image-creator/tools/mic-check-alldeps under
>openSUSE ??
>
>Hello,
>
>I run 'sudo tools/mic-check-alldeps' under openSUSE 11.2, which always
>ended with a message --
>"mic2 requires yum version >= 3.2.22, please update yum to 3.2.22",
>Though I have yum-3.2.25-4.1.i586 installed.
>
>After checking tools/mic-check-alldeps, I found qvercmd was undefined
>for openSUSE.
>
>index efc0edd..79d29a3 100755
>--- a/tools/mic-check-alldeps
>+++ b/tools/mic-check-alldeps
>@@ -78,6 +78,7 @@ case $distro in
> "openSUSE")
> installer="zypper install"
> querycmd="rpm -q"
>+ qvercmd="rpm -q --qf %{VERSION}"
> extrapkgs=("squashfs" "device-mapper" "sqlite3" "zlib-
>devel" "python-devel" "qemu" "make")
> ;;
> "SUSE")
>
>This change will fix.
>
>----------------
>Best Regards,
>Brook Hong
>
>
>_______________________________________________
>MeeGo-dev mailing list
>[email protected]
>http://lists.meego.com/listinfo/meego-dev
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev