Drop boot_blocklist_hack.patch, fixed differently upstream some time ago

by being smarter about filesystem-root-relative path conversion.
This commit is contained in:
Colin Watson 2011-05-18 11:52:42 +01:00
parent c068bab2b0
commit 2511f6a200
3 changed files with 2 additions and 21 deletions

2
debian/changelog vendored
View File

@ -2,6 +2,8 @@ grub2 (1.99-3) UNRELEASED; urgency=low
* Ship grub-mkrescue on non-Linux amd64/i386 architectures.
* Don't try to ship grub-mkrescue on sparc.
* Drop boot_blocklist_hack.patch, fixed differently upstream some time ago
by being smarter about filesystem-root-relative path conversion.
-- Colin Watson <cjwatson@debian.org> Wed, 18 May 2011 09:51:55 +0100

View File

@ -1,20 +0,0 @@
Index: b/util/grub-setup.c
===================================================================
--- a/util/grub-setup.c
+++ b/util/grub-setup.c
@@ -540,6 +540,15 @@
grub_file_filter_disable_compression ();
file = grub_file_open (core_path_dev);
+
+ if (grub_errno == GRUB_ERR_FILE_NOT_FOUND)
+ {
+ /* Clean the previous grub_errno */
+ grub_errno = GRUB_ERR_NONE;
+ strcpy (core_path_dev, "/grub/core.img");
+ file = grub_file_open (core_path_dev);
+ }
+
if (file)
{
if (grub_file_size (file) != core_size)

View File

@ -1,7 +1,6 @@
olpc_prefix_hack.patch
core_in_fs.patch
dpkg_version_comparison.patch
boot_blocklist_hack.patch
grub_legacy_0_based_partitions.patch
disable_floppies.patch
grub.cfg_400.patch