Accepting request 936511 from home:michals

- Add support for simplefb (boo#1193532).
  + grub2-simplefb.patch

OBS-URL: https://build.opensuse.org/request/show/936511
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=399
This commit is contained in:
Michael Chang 2021-12-09 07:35:45 +00:00 committed by Git OBS Bridge
parent 42aba3795c
commit 11d4e23ea8
3 changed files with 20 additions and 0 deletions

13
grub2-simplefb.patch Normal file
View File

@ -0,0 +1,13 @@
--- grub-2.06/util/grub.d/10_linux.in 2021-12-08 14:57:02.381591797 +0100
+++ grub-2.06/util/grub.d/10_linux.in 2021-12-08 15:09:08.563593340 +0100
@@ -149,7 +149,7 @@
# FIXME: We need an interface to select vesafb in case efifb can't be used.
if [ "x$GRUB_GFXPAYLOAD_LINUX" = x ]; then
echo " load_video" | sed "s/^/$submenu_indentation/"
- if grep -qx "CONFIG_FB_EFI=y" "${config}" 2> /dev/null \
+ if grep -qx "CONFIG_\(FB_EFI\|SYSFB_SIMPLEFB\)=y" "${config}" 2> /dev/null \
&& grep -qx "CONFIG_VT_HW_CONSOLE_BINDING=y" "${config}" 2> /dev/null; then
echo " set gfxpayload=keep" | sed "s/^/$submenu_indentation/"
fi

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Dec 8 14:16:58 UTC 2021 - Michal Suchanek <msuchanek@suse.com>
- Add support for simplefb (boo#1193532).
+ grub2-simplefb.patch
-------------------------------------------------------------------
Mon Dec 6 01:21:07 UTC 2021 - Michael Chang <mchang@suse.com>

View File

@ -176,6 +176,7 @@ Patch1: rename-grub-info-file-to-grub2.patch
Patch2: grub2-linux.patch
Patch3: use-grub2-as-a-package-name.patch
Patch4: info-dir-entry.patch
Patch5: grub2-simplefb.patch
Patch6: grub2-iterate-and-hook-for-extended-partition.patch
Patch8: grub2-ppc-terminfo.patch
Patch9: grub2-GRUB_CMDLINE_LINUX_RECOVERY-for-recovery-mode.patch