~ubuntu-branches/ubuntu/quantal/grub2/quantal-proposed

« back to all changes in this revision

Viewing changes to debian/patches/ubuntu_probe_dmraid.patch

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-04-03 18:15:58 UTC
  • Revision ID: package-import@ubuntu.com-20120403181558-lgozxphywuov7ne8
Tags: 1.99-21ubuntu1
* 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.
  - Don't generate device.map during grub-install or grub-mkconfig.
  - 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.
  - Fix LVM/RAID probing in the absence of /boot/grub/device.map.
  - Look for .mo files in /usr/share/locale-langpack first.
  - Build-depend on qemu-kvm rather than qemu-system for grub-pc tests.
  - Check hardware support before using gfxpayload=keep.
  - Put second and subsequent Linux menu entries in a submenu.
  - Preferred resolution detection for VBE.
  - Set vt.handoff=7 for smooth handoff to kernel graphical mode.
  - Update default/grub.md5sum to include maverick's default md5sum.
  - 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.
  - Use qemu -no-kvm in tests for now to work around LP #947597.
  - Disable cursor as early as possible in grub_main.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
===================================================================
9
9
--- a/grub-core/kern/emu/hostdisk.c
10
10
+++ b/grub-core/kern/emu/hostdisk.c
11
 
@@ -471,9 +471,15 @@
 
11
@@ -475,9 +475,15 @@
12
12
        grub_dprintf ("hostdisk", "no dm target\n");
13
13
        goto devmapper_fail;
14
14
       }
26
26
                      target_type);
27
27
        goto devmapper_fail;
28
28
       }
29
 
@@ -1484,6 +1490,11 @@
 
29
@@ -1488,6 +1494,11 @@
30
30
              grub_dprintf ("hostdisk", "%s child has no DM name\n", path);
31
31
              goto devmapper_out;
32
32
            }
38
38
          mapper_name = child_name;
39
39
 
40
40
 devmapper_out:
41
 
@@ -1590,6 +1601,16 @@
 
41
@@ -1594,6 +1605,16 @@
42
42
 
43
43
   if (os_dev[len - 1] < '0' || os_dev[len - 1] > '9')
44
44
     return 1;