Yes, in the mic2's dependency packages list, we have missed dmsetup(in Debian/Ubuntu) or device-mapper(in Fedora/SUSE/moblin2).
The code in mic2 git has been updated. Regards, jf.ding On Fri, Mar 13, 2009 at 02:28:09AM +0800, Nashif, Anas wrote: > It seems you are missing device-mapper (dmsetup). > > Regards, > Anas > > > On 11/03/09 11:40 AM, "Lynch, Rusty" <[email protected]> wrote: > > On Tue, 2009-03-10 at 12:44 -0700, Scott James Remnant wrote: > > On Sun, 2009-03-08 at 21:38 -0700, Nashif, Anas wrote: > > > > > On 08/03/09 6:22 AM, "Scott James Remnant" <[email protected]> wrote: > > > > > > > On Fri, 2009-03-06 at 15:20 -0700, Nashif, Anas wrote: > > > > > > > >> X is not broken, the update from alpha to the current tree is not > > > >> supported using YUM atm because of various major changes. > > > >> > > > > What is the correct, supported way to install the current tree? > > > > > > > Using MIC2 and making it point to the development tree. > > > > > I tried that. > > > > I used mic2-0.6, and I changed the netbook-core.ks to say: > > > > repo --name=moblin2 > > --baseurl=http://repo.moblin.org/moblin/development/core/ia32/os/ > > repo --name=debug > > --baseurl=http://repo.moblin.org/moblin/development/core/ia32/debug/ > > > > and I ran it as: > > > > sudo moblin-image-creator -c examples/netbook-core.ks -f liveusb > > --cache=mycache > > > > and it failed with: > > > > Traceback (most recent call last): > > File "/usr/bin/moblin-image-creator", line 273, in <module> > > sys.exit(main()) > > File "/usr/bin/moblin-image-creator", line 203, in main > > creator.package(destdir) > > File "/usr/lib/python2.5/site-packages/mic/imgcreate/creator.py", line > > 698, in package > > self._stage_final_image() > > File "/usr/lib/python2.5/site-packages/mic/imgcreate/live.py", line > > 1060, in _stage_final_image > > self._image, minimal_size) > > File "/usr/lib/python2.5/site-packages/mic/imgcreate/fs.py", line 682, > > in create_image_minimizer > > snapshot.create() > > File "/usr/lib/python2.5/site-packages/mic/imgcreate/fs.py", line 611, > > in create > > if subprocess.call(args) != 0: > > File "/usr/lib/python2.5/subprocess.py", line 444, in call > > return Popen(*popenargs, **kwargs).wait() > > File "/usr/lib/python2.5/subprocess.py", line 594, in __init__ > > errread, errwrite) > > File "/usr/lib/python2.5/subprocess.py", line 1153, in _execute_child > > raise child_exception > > OSError: [Errno 2] No such file or directory > > I've seen this thing before... it's a trace you see when trying to exec > something from python (using subprocess) that doesn't exist on the > system. > > mic2 needs to capture the exception to and provide an error that means > something (like 'please install foobar'.) > > I'm not looking through the code right now, but I bet that Anas or Praj > will know what external executables mic2 might try to call... perhaps > mksquashfs? > > --rusty > > > _______________________________________________ > Moblin dev Mailing List > [email protected] > > To manage or unsubscribe from this mailing list visit: > https://lists.moblin.org/mailman/listinfo/dev or your user account on > http://moblin.org once logged in. > > For more information on the Moblin Developer Mailing lists visit: > http://moblin.org/community/mailing-lists _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
