2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
Fix breakage in grub-setup. * util/i386/pc/grub-setup.c (setup): Use "part_msdos" instead of "msdos_partition_map".
This commit is contained in:
parent
ff747d50c1
commit
aea664ea28
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Fix breakage in grub-setup.
|
||||
|
||||
* util/i386/pc/grub-setup.c (setup): Use "part_msdos" instead of
|
||||
"msdos_partition_map".
|
||||
|
||||
2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Fix breakage in normal/auth.c.
|
||||
|
|
|
@ -338,12 +338,12 @@ setup (const char *dir,
|
|||
goto unable_to_embed;
|
||||
}
|
||||
|
||||
grub_partition_iterate (dest_dev->disk, (strcmp (dest_partmap, "msdos_partition_map") ?
|
||||
grub_partition_iterate (dest_dev->disk, (strcmp (dest_partmap, "part_msdos") ?
|
||||
find_usable_region_gpt : find_usable_region_msdos));
|
||||
|
||||
if (embed_region.end == embed_region.start)
|
||||
{
|
||||
if (! strcmp (dest_partmap, "msdos_partition_map"))
|
||||
if (! strcmp (dest_partmap, "part_msdos"))
|
||||
grub_util_warn ("This msdos-style partition label has no post-MBR gap; embedding won't be possible!");
|
||||
else
|
||||
grub_util_warn ("This GPT partition label has no BIOS Boot Partition; embedding won't be possible!");
|
||||
|
|
Loading…
Reference in a new issue