This email list is read-only. Emails sent to this list will be discarded
----------------------------------
debian/changelog | 5 +++--
gui/gui.py | 6 ++++--
2 files changed, 7 insertions(+), 4 deletions(-)
New commits:
commit bacdbc33011fb605271661af773a33477a6f4212
Author: Prajwal Mohan <[EMAIL PROTECTED]>
Date: Wed Jul 30 17:16:20 2008 -0700
kvm has different binaries on yum and apt platforms
Diff in this email is a maximum of 400 lines.
diff --git a/debian/changelog b/debian/changelog
index 1652cb5..429d034 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -83,9 +83,10 @@ moblin-image-creator (0.45) UNRELEASED; urgency=low
* Making changes to Install Image to handle yum based platforms
* Making changes to Makefile
* Adding creating grub menu
- * Fixing problems with creating images for yum platforms on apt host
+ * Fixing problems with creating images for yum platforms on apt host
+ * kvm has different binaries on yum and apt platforms
- -- Prajwal Mohan <[EMAIL PROTECTED]> Wed, 30 Jul 2008 13:36:14 -0700
+ -- Prajwal Mohan <[EMAIL PROTECTED]> Wed, 30 Jul 2008 17:15:49 -0700
moblin-image-creator (0.44) gaston; urgency=low
diff --git a/gui/gui.py b/gui/gui.py
index b3015e3..033f648 100644
--- a/gui/gui.py
+++ b/gui/gui.py
@@ -919,8 +919,10 @@ class App(object):
dialog.destroy()
return
# boot the live usb image in KVM in background
- os.popen("sudo kvm -no-acpi -m 384 -hda " + live_img + " -hdb
/var/lib/moblin-image-creator/kvm/mic_vm_share.img -boot c &")
-
+ if mic_cfg.config.get('general', 'package_manager') == 'apt':
+ os.popen("kvm -no-acpi -m 384 -hda " + live_img + " -hdb
/var/lib/moblin-image-creator/kvm/mic_vm_share.img -boot c &")
+ elif mic_cfg.config.get('general', 'package_manager') == 'yum':
+ os.popen("qemu-kvm -no-acpi -m 384 -hda " + live_img + " -hdb
/var/lib/moblin-image-creator/kvm/mic_vm_share.img -boot c &")
def getImageName(self, default_name = ".img"):
_______________________________________________
Commits mailing list
[email protected]
https://www.moblin.org/mailman/listinfo/commits