Hi Anas,

Done as bug #449.

I also open bug #450 because now I get this:

cube:/home/jcdr/try/meego# moblin-image-creator --config=meego-preview-netbook-core.ks --format=livecd --cache=mycache
[...]
Retrieving http://linuxdownload.adobe.com/linux/i386/repodata/repomd.xml ...OK Retrieving http://linuxdownload.adobe.com/linux/i386/repodata/primary.xml.gz ...OK Retrieving http://repo.meego.com/MeeGo/devel/trunk/repo/ia32/os/repodata/repomd.xml ...OK Retrieving http://repo.meego.com/MeeGo/devel/trunk/repo/ia32/os/repodata/d53f3885d6213ad6fcee86b42c5300b07b783bc42e45ff5cfd04fbb400ace421-primary.sqlite.bz2 ...OK Retrieving http://repo.meego.com/MeeGo/devel/trunk/repo/ia32/os/repodata/d53f3885d6213ad6fcee86b42c5300b07b783bc42e45ff5cfd04fbb400ace421-primary.sqlite.bz2 ...OK
Traceback (most recent call last):
  File "/usr/bin/moblin-image-creator", line 584, in <module>
    ret = main()
  File "/usr/bin/moblin-image-creator", line 551, in main
    creator.install()
File "/usr/lib/python2.5/site-packages/mic/imgcreate/creator.py", line 780, in install
    ayum.close()
File "/usr/lib/python2.5/site-packages/mic/imgcreate/yuminst.py", line 68, in close
    yum.YumBase.close(self)
File "/var/lib/python-support/python2.5/yum/__init__.py", line 103, in close
    self._repos.close()
  File "/var/lib/python-support/python2.5/yum/repos.py", line 76, in close
    repo.close()
File "/var/lib/python-support/python2.5/yum/yumRepo.py", line 261, in close
    self.sack.close()
File "/var/lib/python-support/python2.5/yum/sqlitesack.py", line 40, in newFunc
    return func(*args, **kwargs)
File "/var/lib/python-support/python2.5/yum/sqlitesack.py", line 293, in close
    dataobj.close()
AttributeError: 'NoneType' object has no attribute 'close'

The report is rather simple, because I actually have no idea on it.

Regards,

Anas Nashif a écrit :
Can you please open a bug against mic on bugzilla.meego.com?

Product: Development Tools
Components: MIC

Thanks,
Anas

On 2010-04-03, at 9:20 AM, Jean-Christian de Rivaz wrote:

I finally got isohybrid on Debian Lenny after a 'make' and 'INSTALLROOT=$HOME 
make install' on the vanilla source archive for Squeeze. The I do a 'export 
PATH=$HOME/usr/bin:$PATH'.

cube:/home/jcdr/try/meego# isohybrid
Usage: /home/jcdr/usr/bin/isohybrid [options] filename.iso
Options:
 -h          Number of default geometry heads
 -s          Number of default geometry sectors
 -entry      Specify partition entry number (1-4)
 -offset     Specify partition offset (default 0)
 -type       Specify partition type (default 0x17)
 -id         Specify MBR ID (default random)
 -forcehd0   Always assume we are loaded as disk ID 0
 -ctrlhd0    Assume disk ID 0 if the Ctrl key is pressed
 -partok     Allow booting from within a partition

But with moblin-image-creator I get:

Error: failed to create image : Needed file: /usr/bin/isohybrid not found, 
please check your installation

Or:

cube:/home/jcdr/try/meego# unsquashfs -v
unsquashfs version 1.5 (2007/10/31)
copyright (C) 2007 Phillip Lougher <[email protected]>

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2,
or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

But with moblin-image-creator I get:

Error: failed to create image : Needed file: /usr/bin/mkisofs not found, please 
check your installation

I believe the problem is that moblin-image-creator use fixed absolute path 
instead of the $PATH environment variable. Another point to test in the QA.

A dirty workaround it to use symbolic link from the real binary to the path 
expected by moblin-image-creator.

Regards,
--
Jean-Christian de Rivaz
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev




--
Jean-Christian de Rivaz
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to