Accepting request 337316 from Virtualization

An additional bug fix for openSUSE 42.1

OBS-URL: https://build.opensuse.org/request/show/337316
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virt-manager?expand=0&rev=130
This commit is contained in:
Stephan Kulow 2015-10-12 08:02:33 +00:00 committed by Git OBS Bridge
commit 93101fada8
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 8 11:47:56 MDT 2015 - carnold@suse.com
- bsc#949566 - virt-manager: Doesn't detect openSUSE 42 correctly
virtinst-pvgrub2-bootloader.patch
-------------------------------------------------------------------
Fri Sep 25 15:24:23 MDT 2015 - carnold@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package virt-manager
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define with_guestfs 0
%define askpass_package "openssh-askpass"
%define qemu_user "qemu"

View File

@ -13,8 +13,8 @@ Index: virt-manager-1.2.1/virtinst/guest.py
- self.bootloader = "/usr/bin/pygrub"
- self.os.clear()
+ os_ver = self._get_os_variant()
+ if os_ver == "sles12" or os_ver == "sled12" or \
+ os_ver == "opensuse13" or os_ver == "opensuse42":
+ if os_ver.startswith("sles12") or os_ver.startswith("sled12") or \
+ os_ver.startswith("opensuse13") or os_ver.startswith("opensuse42"):
+ self.installer._install_kernel = "/usr/lib/grub2/x86_64-xen/grub.xen"
+ self.installer._install_initrd = None
+ self.installer.extraargs = None