jcapik pushed to kimchi (f22). "- Fixing VM creation failures caused by unsupported kbd_type"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 16 17:14:24 UTC 2015


>From 1d45e109ca2491cb6f02b8a259b72a9dbed126fe Mon Sep 17 00:00:00 2001
From: Jaromir Capik <jcapik at redhat.com>
Date: Thu, 16 Apr 2015 19:12:11 +0200
Subject: - Fixing VM creation failures caused by unsupported kbd_type


diff --git a/kimchi-1.4.1-kbd_type.patch b/kimchi-1.4.1-kbd_type.patch
new file mode 100644
index 0000000..6e7091b
--- /dev/null
+++ b/kimchi-1.4.1-kbd_type.patch
@@ -0,0 +1,20 @@
+diff -Naur kimchi-1.4.1.orig/src/kimchi/osinfo.py kimchi-1.4.1/src/kimchi/osinfo.py
+--- kimchi-1.4.1.orig/src/kimchi/osinfo.py	2015-03-25 18:48:41.000000000 +0100
++++ kimchi-1.4.1/src/kimchi/osinfo.py	2015-04-16 18:54:27.000000000 +0200
+@@ -48,14 +48,14 @@
+                   'power': {'old': dict(common_spec, disk_bus='scsi',
+                                         nic_model='spapr-vlan',
+                                         cdrom_bus='scsi',
+-                                        kbd_type="kbd",
++                                        kbd_type="keyboard",
+                                         kbd_bus='usb', mouse_bus='usb',
+                                         tablet_bus='usb', memory=1280),
+                             'modern': dict(common_spec, disk_bus='virtio',
+                                            nic_model='virtio',
+                                            cdrom_bus='scsi',
+                                            kbd_bus='usb',
+-                                           kbd_type="kbd",
++                                           kbd_type="keyboard",
+                                            mouse_bus='usb', tablet_bus='usb',
+                                            memory=1280)},
+                   'ppc64le': {'old': dict(common_spec, disk_bus='virtio',
diff --git a/kimchi.spec b/kimchi.spec
index c94560c..5648dee 100644
--- a/kimchi.spec
+++ b/kimchi.spec
@@ -1,6 +1,6 @@
 Name:           kimchi
 Version:        1.4.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        An HTML5-based KVM graphical interface
 BuildArch:      noarch
 # The backend is LGPLv3 and LGPLv2+, the UI is ASL 2.0
@@ -12,6 +12,8 @@ Source0:        https://github.com/kimchi-project/%{name}/archive/%{version}.tar
 
 # Fixes a compilation issue related to Fedora and gettext
 Patch0:         kimchi-1.2.1-gettext.patch
+# Prevents from vm creation failures caused by unsupported kbd_type
+Patch1:         kimchi-1.4.1-kbd_type.patch
 
 Requires:   qemu-kvm
 Requires:   gettext-devel
@@ -56,6 +58,7 @@ Web server application to manage KVM/Qemu virtual machines
 %prep
 %setup -q
 %patch0
+%patch1 -p1
 
 
 %build
@@ -91,6 +94,9 @@ rm -f %{buildroot}/%{_datadir}/locale/*/LC_MESSAGES/sample.mo
 
 
 %changelog
+* Thu Apr 16 2015 Jaromir Capik <jcapik at redhat.com> - 1.4.1-2
+- Fixing VM creation failures caused by unsupported kbd_type
+
 * Mon Mar 30 2015 Brent Baude <bbaude at redhat.com> - 1.4.1-1
 - New version released upstream
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/kimchi.git/commit/?h=f22&id=1d45e109ca2491cb6f02b8a259b72a9dbed126fe


More information about the scm-commits mailing list