File grub2-simplefb.patch of Package grub2.22357


--- 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
openSUSE Build Service is sponsored by