I don't want to convert. I only want to run chroot on an already unpacked directory.
-----Original Message----- From: Zheng, Yanshuang [mailto:[email protected]] Sent: Monday, May 25, 2009 6:46 PM To: Amit Bapat; [email protected] Cc: [email protected] Subject: RE: [Moblin Dev] moblin-chroot Hello Amit, moblin-chroot works well on my fc10. I guess you missed some necessary arguments. You may try again as follows: #moblin-chroot --convert-to=livecd --convert-only vanilla/ And a reminder, pls download the latest package of MIC2. Thanks, Yanshuang -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Amit Bapat Sent: 2009年5月26日 0:05 To: [email protected] Subject: [Moblin Dev] moblin-chroot I'm not able to use moblin-chroot on Fedora 10 64bit system. See below. vanilla/ is a directory where I have unpacked a Moblin licecd image (using moblin-chroot) previously. I can repack this directory into a working livecd image again. So only the 'chroot' part of the moblin-chroot seems to have problem. Any ideas? $ sudo moblin-chroot vanilla/ Launching shell. Exit to continue. ---------------------------------- bind_mount: /proc -> vanilla///proc bind_mount: /sys -> vanilla///sys bind_mount: /dev/pts -> vanilla///dev/pts bind_mount: /dev/shm -> vanilla///dev/shm bind_mount: / -> vanilla///parentroot bind_mount: /lib/modules/2.6.27.21-170.2.56.fc10.x86_64 -> vanilla///lib/modules/2.6.27.21-170.2.56.fc10.x86_64 bind_mount: /lib/modules/2.6.27.5-117.fc10.x86_64 -> vanilla///lib/modules/2.6.27.5-117.fc10.x86_64 Traceback (most recent call last): File "/usr/bin/moblin-chroot", line 217, in <module> sys.exit(main()) File "/usr/bin/moblin-chroot", line 196, in main chroot.chroot(options.saveto, options.bindmounts) File "/usr/lib/python2.5/site-packages/mic/chroot/chroot.py", line 258, in chroot globalmounts = setup_chrootenv(chrootdir, bindmounts) File "/usr/lib/python2.5/site-packages/mic/chroot/chroot.py", line 133, in setup_chrootenv shutil.copyfile("/etc/mtab", chrootdir + "/etc/mtab") File "/usr/lib64/python2.5/shutil.py", line 51, in copyfile fdst.close() IOError: [Errno 22] Invalid argument _______________________________________________ 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
