Hi Tom,
This is a problem with the last image-creator application. I have updated
them today and had the same problem. To fix then you can apply the following
simple patch:
diff --git a/mic/imgcreate/creator.py b/mic/imgcreate/creator.py
index 32542ea..1709da9 100644
--- a/mic/imgcreate/creator.py
+++ b/mic/imgcreate/creator.py
@@ -134,7 +134,7 @@ class ImageCreator(object):
self._dep_checks.remove(dep)
if not os.path.exists("/usr/bin/qemu-arm") or not
is_statically_linked("/usr/bin/qemu-arm"):
- creator._dep_checks.append(("/usr/bin/qemu-arm-static",))
+ self._dep_checks.append(("/usr/bin/qemu-arm-static",))
return True
[]'s
2010/8/12 Tom Chen <[email protected]>
> Hi,
>
> i try to build the N900 image as the post
> http://forum.meego.com/showpost.php?p=6580&postcount=90 said , but i got
> the error like below.
>
> Retrieving
> http://repository.maemo.org/meego/2a5e7de0123d9723051f4f6396a9d4c0/builds/trunk/1.0.80.13.20100803.2/nokia-n900-non-oss/repos/armv5tel/packages//repodata/nokia-proprietary-comps.xml.gz...OK
> Warning: can't get
> http://repository.maemo.org/meego/2a5e7de0123d9723051f4f6396a9d4c0/builds/trunk/1.0.80.13.20100803.2/nokia-n900-non-oss/repos/armv5tel/packages//repodata/repomd.xml.key
> Retrieving
> http://repo.meego.com/MeeGo/builds/trunk/1.0.80.13.20100803.2/core/repos/armv5tel/packages//noarch/meego-release-1.0.80-2.2.noarch.rpm...OK
> Available target architectures: [u'armv5tel']
>
> MeeGo release 1.0.80
>
> Traceback (most recent call last):
> File "/usr/bin/mic-image-creator", line 807, in <module>
> ret = main()
> File "/usr/bin/mic-image-creator", line 744, in main
> creator.set_target_arch(target_arch)
> File "/usr/lib/python2.6/site-packages/mic/imgcreate/creator.py", line
> 137, in set_target_arch
> creator._dep_checks.append(("/usr/bin/qemu-arm-static",))
> NameError: global name 'creator' is not defined
> [r...@tom Meego]#
>
> i already update my image-creator and build it again. the version of
> mic-image-creator is 0.19, is that right?
>
> Br
> Tom Chen
>
> On Thu, Aug 12, 2010 at 2:42 AM, Tom Chen <[email protected]> wrote:
>
>> Hi,
>>
>> thanks, i will try it.
>>
>> Br
>> Tom Chen
>>
>>
>> On Thu, Aug 12, 2010 at 2:38 PM, <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> > if i build the N900 image as you said, what's the command i should used
>>> to run it on my fedora13 host? my fedora13 installed with VMWare.
>>>
>>> He talks about the real hardware, not a virtual machine.
>>> To run a N900 image, you need QEMU (or the real hardware).
>>>
>>> Cheers,
>>>
>>> Fathi
>>>
>>> _______________________________________________
>>> 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
>
>
--
José Luís do Nascimento
Signove - Enjoy Innovation
Home page: http://www.signove.com
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev