Comment 10 for bug 605614

Revision history for this message
andrew thomas (atswartz) wrote :

# Use a simple linear framebuffer appropriate to the platform if support
  # for it is known to be built into the kernel. We need it to be built-in
  # rather than modular, as otherwise early output from the kernel won't
  # work.
 Sorry I made an error in my cut and paste

 if [ "x$GRUB_GFXPAYLOAD_LINUX" = x ]; then
      cat << EOF
    load_video
EOF
      if [ "x$LINUX_CONFIG_FB" != x ] \
      && grep -qx "$LINUX_CONFIG_FB=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=text # change keep to text?
EOF
      fi
  else
      cat << EOF
    set gfxpayload=$GRUB_GFXPAYLOAD_LINUX
EOF
  fi