This email list is read-only.  Emails sent to this list will be discarded
----------------------------------
 debian/changelog     |    5 ++++-
 libs/InstallImage.py |   19 ++++++++++++-------
 2 files changed, 16 insertions(+), 8 deletions(-)

New commits:
commit 790fedf98c9db00db9424b43a175301766b2957e
Author: Prajwal Mohan <[email protected]>
Date:   Fri Jan 9 10:27:50 2009 -0800

    Fixing KVM bug on intrepid


Diff in this email is a maximum of 400 lines.
diff --git a/debian/changelog b/debian/changelog
index fbff001..cd463c3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -32,7 +32,10 @@ moblin-image-creator (0.48) gaston; urgency=low
   * Supporting Spanish made by Juan Jesus Ojeda Croissier 
<[email protected]>. Bug URL is 
http://bugzilla.moblin.org/show_bug.cgi?id=186.
   * Updating Spanish localization made by Juan Jesus Ojeda Croissier 
<[email protected]>. Bug URL is 
http://bugzilla.moblin.org/show_bug.cgi?id=186.
 
- -- Mitsutaka Amano <[email protected]>  Fri, 05 Dec 2008 12:34:48 +0900
+  [ Prajwal Mohan ]
+  * Fixing KVM bug on intrepid 
+
+ -- Prajwal Mohan <[email protected]>  Fri, 09 Jan 2009 10:27:25 -0800
 
 moblin-image-creator (0.47) gaston; urgency=low
 
diff --git a/libs/InstallImage.py b/libs/InstallImage.py
index 2f5a5f2..f56d99d 100755
--- a/libs/InstallImage.py
+++ b/libs/InstallImage.py
@@ -655,13 +655,18 @@ class BaseUsbImage(InstallImage):
             out_file.write(out_string)
         out_file.close()
 
-        cmd_line = "mkfs.vfat %s" % self.path
-
-        result = pdk_utils.execCommand(cmd_line, callback = 
self.progress_callback)
-        if result:
-            print >> sys.stderr, _("Error running command: %s") % cmd_line
-            raise EnvironmentError, _("Error running command: %s") % cmd_line
-
+        #cmd_line = "mkfs.vfat %s" % self.path
+        #Note: The note below for syslinux applies to mkfs as well.
+        #         In Ubuntu8.10 the host version of mkfs.vfat leads sometimes
+        #         to strange results. 
+
+        #result = pdk_utils.execCommand(cmd_line, callback = 
self.progress_callback)
+        #if result:
+        #    print >> sys.stderr, _("Error running command: %s") % cmd_line
+        #    raise EnvironmentError, _("Error running command: %s") % cmd_line
+        jail_path = self.path[len(self.project.path):]
+        self.project.chroot('mkfs.vfat %s' % jail_path)
+ 
         # NOTE: Running syslinux on the host development system
         #       means the host and target have compatible architectures.
         #       This runs syslinux inside the jailroot so the correct
_______________________________________________
Commits mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/commits

Reply via email to