Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Staging:C
grub2
grub2-ppc64-qemu.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File grub2-ppc64-qemu.patch of Package grub2
From 90f6eed0b4ffdfe361c2966e62fcb8ed11b528bc Mon Sep 17 00:00:00 2001 From: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> Date: Thu, 20 Mar 2014 16:39:29 +0530 Subject: [PATCH] ieee1275: check for IBM pseries emulated machine As there is no check for IBM pSeries qemu machine, is_qemu is not set. So feature like GRUB_IEEE1275_FLAG_HAS_CURSORONOFF is not enabled. This results in cursor not being displayed during the grub-menu. Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> --- grub-core/kern/ieee1275/cmain.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/grub-core/kern/ieee1275/cmain.c b/grub-core/kern/ieee1275/cmain.c index d92ae14..3e12e6b 100644 --- a/grub-core/kern/ieee1275/cmain.c +++ b/grub-core/kern/ieee1275/cmain.c @@ -84,8 +84,10 @@ grub_ieee1275_find_options (void) rc = grub_ieee1275_get_property (root, "model", tmp, sizeof (tmp), 0); - if (rc >= 0 && !grub_strcmp (tmp, "Emulated PC")) + if (rc >= 0 && (!grub_strcmp (tmp, "Emulated PC") + || !grub_strcmp (tmp, "IBM pSeries (emulated by qemu)"))) { is_qemu = 1; + } if (rc >= 0 && grub_strncmp (tmp, "IBM", 3) == 0) grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_NO_TREE_SCANNING_FOR_DISKS); -- 1.8.3.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor