X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fboot%2Fgrub%2Fgrub.200-fix_mbr_handling.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fboot%2Fgrub%2Fgrub.200-fix_mbr_handling.patch;h=21e200f1726782a896a739c3091bcb6f06749ef7;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/boot/grub/grub.200-fix_mbr_handling.patch b/cirros-testvm/src-cirros/buildroot-2015.05/boot/grub/grub.200-fix_mbr_handling.patch new file mode 100644 index 0000000..21e200f --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/boot/grub/grub.200-fix_mbr_handling.patch @@ -0,0 +1,13 @@ +Index: b/stage2/disk_io.c +=================================================================== +--- a/stage2/disk_io.c ++++ b/stage2/disk_io.c +@@ -365,7 +365,7 @@ + int + devwrite (unsigned 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)) + {