grub2/debian/patches/gfxpayload_keep_default.patch
Colin Watson c3f791031d * New upstream release.
- Ensure uniqueness of RAID array numbers even if some elements have a
    name (closes: #609804).
  - Remove unnecessary brackets from tr arguments (closes: #612564).
  - Add grub-mkrescue info documentation (closes: #612585).
  - Avoid generating invalid configuration when something that looks like
    a Xen hypervisor is present without any Xen kernels (closes: #612898).
  - Fix memory alignment when calling 'linux' multiple times on EFI
    (closes: #616638).
  - Fix grub-install on amd64 EFI systems (closes: #617388).
  - Automatically export pager variable (closes: #612995).
  - Fix parser error with "time" (closes: #612991).
  - Ignore case of bitmap extensions (closes: #611123).
  - Skip vmlinux-* on x86 platforms (closes: #536846, #546008).
  - Accept old-style Xen kernels (closes: #610428).
  - Skip damaged LVM volumes (closes: #544731).
  - Handle LVM mirroring (closes: #598441).
  - Detect spares and report them as not RAID members (closes: #611561).
  - Don't enable localisation unless gfxterm is available (closes:
    #604609).
  - Fix partitioned RAID support (closes: #595071, #613444).
  - Dynamically count the number of lines for the lower banner (closes:
    #606494).
  - Improve quoting in grub-mkconfig, to support background image file
    names containing spaces (closes: #612417).
  - Flush BIOS disk devices more accurately (closes: #623124).
* Update branch_embed-sectors.patch:
  - Detect sector used by HighPoint RAID controller (closes: #394868).
2011-04-21 12:55:46 +01:00

39 lines
1.4 KiB
Diff

Description: Disable gfxpayload=keep by default
Setting gfxpayload=keep has been known to cause efifb to be inappropriately
enabled. In any case, with the current Linux kernel the result of this
option is that early kernelspace will be unable to print anything to the
console, so (for example) if boot fails and you end up dumped to an
initramfs prompt, you won't be able to see anything on the screen. As such
it shouldn't be enabled by default in Debian, no matter what kernel options
are enabled.
.
gfxpayload=keep is a good idea but rather ahead of its time ...
Author: Colin Watson <cjwatson@debian.org>
Bug-Debian: http://bugs.debian.org/567245
Forwarded: no
Last-Update: 2010-03-09
Index: b/util/grub.d/10_linux.in
===================================================================
--- a/util/grub.d/10_linux.in
+++ b/util/grub.d/10_linux.in
@@ -77,17 +77,7 @@
# 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
- cat << EOF
- load_video
-EOF
- if grep -qx "CONFIG_FB_EFI=y" "${config}" 2> /dev/null \
- && grep -qx "CONFIG_VT_HW_CONSOLE_BINDING=y" "${config}" 2> /dev/null; then
- cat << EOF
- set gfxpayload=keep
-EOF
- fi
- else
+ if [ "x$GRUB_GFXPAYLOAD_LINUX" != x ]; then
if [ "x$GRUB_GFXPAYLOAD_LINUX" != xtext ]; then
cat << EOF
load_video