Magellan Linux

Contents of /trunk/grub/patches/grub-0.97-virtio-blk-support.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 897 - (show annotations) (download)
Fri Oct 16 15:39:40 2009 UTC (14 years, 7 months ago) by niro
File size: 952 byte(s)
-fedora patches

1 diff -ur grub-0.97.orig/util/grub-install.in grub-0.97/util/grub-install.in
2 --- grub-0.97.orig/util/grub-install.in 2009-01-12 21:47:56.000000000 -0500
3 +++ grub-0.97/util/grub-install.in 2009-01-12 21:48:16.000000000 -0500
4 @@ -102,7 +102,7 @@
5 linux*)
6 tmp_disk=`echo "$1" | grep -v '/mapper/control$' |
7 grep -v '/mapper/[[:alnum:]]\+-[[:alnum:]]\+$' | uniq |
8 - sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' \
9 + 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 @@ -112,7 +112,7 @@
14 -e 's%\(/mapper/[[:alpha:]]\+_[[:alpha:]]\+\)[[:digit:]]\+$%\1%'`
15 tmp_part=`echo "$1" | grep -v '/mapper/control$' |
16 grep -v '/mapper/[[:alnum:]]\+-[[:alnum:]]\+$' | uniq |
17 - sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' \
18 + sed -e 's%.*/[shv]d[a-z]\([0-9]*\)$%\1%' \
19 -e 's%.*d[0-9]*p%%' \
20 -e 's%.*/fd[0-9]*$%%' \
21 -e 's%.*/floppy/[0-9]*$%%' \