diff options
Diffstat (limited to 'sys-boot/grub/files/ubuntu-upstream-1.98/902_boot_blocklist_hack.diff')
-rw-r--r-- | sys-boot/grub/files/ubuntu-upstream-1.98/902_boot_blocklist_hack.diff | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sys-boot/grub/files/ubuntu-upstream-1.98/902_boot_blocklist_hack.diff b/sys-boot/grub/files/ubuntu-upstream-1.98/902_boot_blocklist_hack.diff deleted file mode 100644 index 63caf45e..00000000 --- a/sys-boot/grub/files/ubuntu-upstream-1.98/902_boot_blocklist_hack.diff +++ /dev/null @@ -1,20 +0,0 @@ -Index: util/i386/pc/grub-setup.c -=================================================================== ---- util/i386/pc/grub-setup.c (revision 1836) -+++ util/i386/pc/grub-setup.c (working copy) -@@ -383,6 +383,15 @@ - grub_disk_cache_invalidate_all (); - - 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) |