~darkmuggle-deactivatedaccount/ubuntu/quantal/grub2/fix-872244

« back to all changes in this revision

Viewing changes to debian/patches/mips_initrd_limits.patch

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-04-15 14:37:43 UTC
  • mfrom: (17.3.54 sid)
  • Revision ID: james.westby@ubuntu.com-20110415143743-kpvgd1dgrue6go0c
Tags: 1.99~rc1-13ubuntu1
* 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 aubergine 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.
  - Handle filesystems loop-mounted on file images.
  - Ignore devices loop-mounted from files in Linux grub.d scripts.
  - 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.
  - Add a grub-rescue-efi-amd64 package.
  - On Wubi, just update wubildr rather than asking for an install device.
  - 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.
  - Add grub-mount-udeb, containing just grub-mount.
* Use /lib/plymouth/themes/default.grub if it exists, rather than
  hardcoding an aubergine background (LP: #696915).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Use correct limits for mips initrd
 
2
Author: Vladimir Serbinenko <phcoder@gmail.com>
 
3
Forwarded: yes
 
4
Applied-Upstream: http://bazaar.launchpad.net/~vcs-imports/grub/grub2-bzr/revision/3203
 
5
Last-Update: 2011-04-14
 
6
 
 
7
Index: b/grub-core/loader/mips/linux.c
 
8
===================================================================
 
9
--- a/grub-core/loader/mips/linux.c
 
10
+++ b/grub-core/loader/mips/linux.c
 
11
@@ -379,8 +379,9 @@
 
12
     grub_relocator_chunk_t ch;
 
13
 
 
14
     err = grub_relocator_alloc_chunk_align (relocator, &ch,
 
15
-                                           target_addr + linux_size + 0x10000,
 
16
-                                           (0xffffffff - size) + 1,
 
17
+                                           (target_addr & 0x1fffffff)
 
18
+                                           + linux_size + 0x10000,
 
19
+                                           (0x10000000 - size),
 
20
                                            size, 0x10000,
 
21
                                            GRUB_RELOCATOR_PREFERENCE_NONE);
 
22