~psusi/ubuntu/saucy/grub2/fix-dmraid

« back to all changes in this revision

Viewing changes to debian/patches/blacklist_1440x900x32.patch

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-01-03 11:40:44 UTC
  • mfrom: (17.6.31 experimental)
  • Revision ID: package-import@ubuntu.com-20130103114044-et8gar9lol415wc9
Tags: 2.00-10ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Adjust for default Ubuntu boot options ("quiet splash").
  - Default to hiding the menu; holding down Shift at boot will show it.
  - Set a monochromatic theme and an appropriate background for Ubuntu.
  - Apply Ubuntu GRUB Legacy changes to legacy update-grub script.
  - Fix backslash-escaping in merge_debconf_into_conf.
  - Remove "GNU/Linux" from default distributor string.
  - Add crashkernel option.
  - Bypass menu unless other OSes are installed or Shift is pressed.
  - Allow Shift to interrupt 'sleep --interruptible'.
  - Reduce visual clutter in normal mode.
  - Remove verbose messages printed before reading configuration.
  - Suppress kernel/initrd progress messages, except in recovery mode.
  - Show the boot menu if the previous boot failed.
  - Adjust upgrade version checks for Ubuntu.
  - Suppress "GRUB loading" message unless Shift is held down.
  - Adjust versions of grub-doc and grub-legacy-doc conflicts.
  - Build-depend on qemu-kvm rather than qemu-system for grub-pc tests.
  - Check hardware support before using gfxpayload=keep.
  - Set vt.handoff=7 for smooth handoff to kernel graphical mode.
  - In recovery mode, add nomodeset to the Linux kernel arguments, and
    remove the 'set gfxpayload=keep' command.
  - Skip Windows os-prober entries on Wubi systems, and suppress the menu
    by default if those are the only other-OS entries.
  - Handle probing striped DM-RAID devices.
  - Replace 'single' by 'recovery' when friendly-recovery is installed.
  - Disable cursor as early as possible in grub_main.
  - Apply patch from Fedora to add a "linuxefi" loader.
  - Automatically call linuxefi from linux when necessary.
  - On amd64, add raw-uefi custom upload tarballs for signing.
  - Generate configuration for signed UEFI kernels if available.
  - Install signed images if UEFI Secure Boot is enabled.
  - Output a menu entry for firmware setup on UEFI FastBoot systems.
  - Stop using the /usr/share/images/desktop-base/desktop-grub.png
    alternative as the fallback background.
  - If the postinst is running in a container, skip grub-install and all
    its associated questions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Blacklist 1440x900x32 from VBE preferred mode handling
 
2
Author: Colin Watson <cjwatson@ubuntu.com>
 
3
Bug-Ubuntu: https://bugs.launchpad.net/bugs/701111
 
4
Forwarded: no
 
5
Last-Update: 2013-01-03
 
6
 
 
7
Index: b/grub-core/video/i386/pc/vbe.c
 
8
===================================================================
 
9
--- a/grub-core/video/i386/pc/vbe.c
 
10
+++ b/grub-core/video/i386/pc/vbe.c
 
11
@@ -1055,6 +1055,15 @@
 
12
              || vbe_mode_info.y_resolution > height)
 
13
            /* Resolution exceeds that of preferred mode.  */
 
14
            continue;
 
15
+
 
16
+         /* Blacklist 1440x900x32 from preferred mode handling until a
 
17
+            better solution is available.  This mode causes problems on
 
18
+            many Thinkpads.  See:
 
19
+              https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/701111  */
 
20
+         if (vbe_mode_info.x_resolution == 1440 &&
 
21
+             vbe_mode_info.y_resolution == 900 &&
 
22
+             vbe_mode_info.bits_per_pixel == 32)
 
23
+           continue;
 
24
        }
 
25
       else
 
26
        {