Annotation of /trunk/grub/patches/grub-0.97-kvm-vda.patch
Parent Directory | Revision Log
Revision 1092 -
(hide annotations)
(download)
Thu Aug 19 13:29:28 2010 UTC (14 years, 1 month ago) by niro
File size: 1251 byte(s)
Thu Aug 19 13:29:28 2010 UTC (14 years, 1 month ago) by niro
File size: 1251 byte(s)
-new patches
1 | niro | 1092 | X-Gentoo-Bug: 259613 |
2 | X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=259613 | ||
3 | X-Redhat-Bug: 479760 | ||
4 | X-Redhat-Bug-URL: https://bugzilla.redhat.com/show_bug.cgi?id=479760 | ||
5 | Original-Patch: https://bugzilla.redhat.com/attachment.cgi?id=328792 | ||
6 | |||
7 | Respun from original patch. Support KVM vd[A-Z][0-9] style disks. | ||
8 | |||
9 | diff -Nuar --exclude '*.orig' --exclude '*.rej' grub-0.97.orig/util/grub-install.in grub-0.97/util/grub-install.in | ||
10 | --- grub-0.97.orig/util/grub-install.in 2010-06-25 04:19:17.997447837 +0000 | ||
11 | +++ grub-0.97/util/grub-install.in 2010-06-25 04:21:29.466324286 +0000 | ||
12 | @@ -96,13 +96,13 @@ | ||
13 | # Break the device name into the disk part and the partition part. | ||
14 | case "$host_os" in | ||
15 | linux*) | ||
16 | - tmp_disk=`echo "$1" | sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' \ | ||
17 | + tmp_disk=`echo "$1" | sed -e 's%\([shv]d[a-z]\)[0-9]*$%\1%' \ | ||
18 | -e 's%\(d[0-9]*\)p[0-9]*$%\1%' \ | ||
19 | -e 's%\(fd[0-9]*\)$%\1%' \ | ||
20 | -e 's%/part[0-9]*$%/disc%' \ | ||
21 | -e 's%\(c[0-7]d[0-9]*\).*$%\1%' \ | ||
22 | -e 's%\(e[0-9]\.[0-9]*\).*$%\1%'` | ||
23 | - tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' \ | ||
24 | + tmp_part=`echo "$1" | sed -e 's%.*/[shv]d[a-z]\([0-9]*\)$%\1%' \ | ||
25 | -e 's%.*d[0-9]*p%%' \ | ||
26 | -e 's%.*/fd[0-9]*$%%' \ | ||
27 | -e 's%.*/floppy/[0-9]*$%%' \ |