2008-06-08 Robert Millan <rmh@aybabtu.com>

* util/i386/pc/grub-setup.c (main): If install drive is an LVM,
        don't append the RAID prefix afterwards.
        Reported by Clint Adams.
This commit is contained in:
robertmh 2008-06-08 22:54:34 +00:00
parent ce525529f9
commit f5679726cd
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2008-06-08 Robert Millan <rmh@aybabtu.com>
* util/i386/pc/grub-setup.c (main): If install drive is an LVM,
don't append the RAID prefix afterwards.
Reported by Clint Adams.
2008-06-08 Robert Millan <rmh@aybabtu.com>
Based on description from Pavel:

View file

@ -749,9 +749,8 @@ main (int argc, char *argv[])
free (prefix);
prefix = newprefix;
}
if (dest_dev[0] == 'm' && dest_dev[1] == 'd'
&& dest_dev[2] >= '0' && dest_dev[2] <= '9')
else if (dest_dev[0] == 'm' && dest_dev[1] == 'd'
&& dest_dev[2] >= '0' && dest_dev[2] <= '9')
{
char **devicelist;
char *raid_prefix;