summaryrefslogtreecommitdiffstats
path: root/boot/grub/grub.200-fix_mbr_handling.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-03-14 18:20:45 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-06-10 21:05:12 +0200
commit649b5b92509dba021ed47ef4c04f358de83ba36f (patch)
treee0f22590fe9a99eba5565bbb4738b6f833b2c9fb /boot/grub/grub.200-fix_mbr_handling.patch
parent7c709f4affc44f3bbc9a09fec8d84ae3807e31e7 (diff)
downloadbuildroot-novena-649b5b92509dba021ed47ef4c04f358de83ba36f.tar.gz
buildroot-novena-649b5b92509dba021ed47ef4c04f358de83ba36f.zip
bootloaders: move bootloader build code to boot/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'boot/grub/grub.200-fix_mbr_handling.patch')
-rw-r--r--boot/grub/grub.200-fix_mbr_handling.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/boot/grub/grub.200-fix_mbr_handling.patch b/boot/grub/grub.200-fix_mbr_handling.patch
new file mode 100644
index 000000000..fdee0ef87
--- /dev/null
+++ b/boot/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))
+ {