mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-15 08:40:35 +00:00
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:
parent
c068bab2b0
commit
2511f6a200
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -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
|
||||
|
||||
|
20
debian/patches/boot_blocklist_hack.patch
vendored
20
debian/patches/boot_blocklist_hack.patch
vendored
@ -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)
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user