Magellan Linux

Contents of /trunk/grub/patches/grub-0.97-kvm-vda-2.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1093 - (show annotations) (download)
Thu Aug 19 13:39:13 2010 UTC (13 years, 8 months ago) by niro
File size: 868 byte(s)
-fixed patch

1 diff -Naur grub-0.97/util/grub-install.in grub-0.97-magellan/util/grub-install.in
2 --- grub-0.97/util/grub-install.in 2004-07-24 20:57:31.000000000 +0200
3 +++ grub-0.97-magellan/util/grub-install.in 2010-08-19 15:49:11.000000000 +0200
4 @@ -96,12 +96,12 @@
5 # Break the device name into the disk part and the partition part.
6 case "$host_os" in
7 linux*)
8 - tmp_disk=`echo "$1" | sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' \
9 + tmp_disk=`echo "$1" | sed -e 's%\([shv]d[a-z]\)[0-9]*$%\1%' \
10 -e 's%\(d[0-9]*\)p[0-9]*$%\1%' \
11 -e 's%\(fd[0-9]*\)$%\1%' \
12 -e 's%/part[0-9]*$%/disc%' \
13 -e 's%\(c[0-7]d[0-9]*\).*$%\1%'`
14 - tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' \
15 + tmp_part=`echo "$1" | sed -e 's%.*/[shv]d[a-z]\([0-9]*\)$%\1%' \
16 -e 's%.*d[0-9]*p%%' \
17 -e 's%.*/fd[0-9]*$%%' \
18 -e 's%.*/floppy/[0-9]*$%%' \