]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2010-02-26 Vladimir Serbinenko <phcoder@gmail.com>
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 26 Feb 2010 13:32:24 +0000 (14:32 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 26 Feb 2010 13:32:24 +0000 (14:32 +0100)
* util/grub.d/10_linux.in (linux_entry): Don't default to
gfxpayload=keep if Linux doesn't support video handover.

ChangeLog
util/grub.d/10_linux.in

index 233e1fc2da9b8bc437845d2943982772dfeb2df7..e7617dc1de7120bf5acfa66319cfd2172dc0f3be 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-02-26  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * util/grub.d/10_linux.in (linux_entry): Don't default to
+       gfxpayload=keep if Linux doesn't support video handover.
+
 2010-02-25  Vladimir Serbinenko  <phcoder@gmail.com>
 
        Don't compile video modules on yeeloong since video subsystem is part
index 046874ef07d3e1e425d11ec75d0ce35140a0e7f6..2c60bc681e247461beaafed6e67a20c519b73600 100644 (file)
@@ -66,7 +66,8 @@ linux_entry ()
   # Use ELILO's generic "efifb" when it's known to be available.
   # FIXME: We need an interface to select vesafb in case efifb can't be used.
   if [ "x$GRUB_GFXPAYLOAD_LINUX" = x ]; then
-      if grep -qx "CONFIG_FB_EFI=y" /boot/config-${version} 2> /dev/null ; then
+      if grep -qx "CONFIG_FB_EFI=y" /boot/config-${version} 2> /dev/null \
+         && grep -qx "CONFIG_VT_HW_CONSOLE_BINDING=y" /boot/config-${version} 2> /dev/null; then
          cat << EOF
        set gfxpayload=keep
 EOF