summaryrefslogtreecommitdiff
path: root/target/x86/grub/grub.200-fix_mbr_handling.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-18 13:07:29 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-18 13:07:29 +0000
commitee161b3eb9c133d0a08c6017379f0668471c0a81 (patch)
tree5e0274295160b1cb435c6b2120b8fdbe3d52af3e /target/x86/grub/grub.200-fix_mbr_handling.patch
parent8d98a89f89f8508ba233b4838b0357b6f70d1cd1 (diff)
- add optional splashimage support
Diffstat (limited to 'target/x86/grub/grub.200-fix_mbr_handling.patch')
-rw-r--r--target/x86/grub/grub.200-fix_mbr_handling.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/x86/grub/grub.200-fix_mbr_handling.patch b/target/x86/grub/grub.200-fix_mbr_handling.patch
new file mode 100644
index 000000000..fdee0ef87
--- /dev/null
+++ b/target/x86/grub/grub.200-fix_mbr_handling.patch
@@ -0,0 +1,11 @@
+--- grub-0.97.oorig/stage2/disk_io.c 2004-05-23 18:35:24.000000000 +0200
++++ grub-0.97/stage2/disk_io.c 2006-03-12 14:11:51.000000000 +0100
+@@ -365,7 +365,7 @@ rawwrite (int drive, int sector, char *b
+ int
+ devwrite (int sector, int sector_count, char *buf)
+ {
+-#if defined(GRUB_UTIL) && defined(__linux__)
++#if defined(GRUB_UTIL) && defined(__linux__) && !defined(SUPPORT_LOOPDEV)
+ if (current_partition != 0xFFFFFF
+ && is_disk_device (device_map, current_drive))
+ {