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> 2008-06-08 Robert Millan <rmh@aybabtu.com>
Based on description from Pavel: Based on description from Pavel:

View file

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