]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/grub-0.97-mpath.patch
Merge branch 'master' of git://git.ipfire.org/ipfire-2.x
[people/pmueller/ipfire-2.x.git] / src / patches / grub-0.97-mpath.patch
1 --- grub-0.97/util/grub-install.in.mpath 2006-08-02 17:21:53.000000000 -0400
2 +++ grub-0.97/util/grub-install.in 2006-08-02 17:23:23.000000000 -0400
3 @@ -107,6 +107,7 @@
4 -e 's%\(fd[0-9]*\)$%\1%' \
5 -e 's%/part[0-9]*$%/disc%' \
6 -e 's%\(c[0-7]d[0-9]*\).*$%\1%' \
7 + -e 's%\(/mapper/[[:alpha:]]\+[[:digit:]]\+\)p[[:digit:]]\+$%\1%' \
8 -e 's%\(/mapper/[[:alpha:]]\+_[[:alpha:]]\+\)[[:digit:]]\+$%\1%'`
9 tmp_part=`echo "$1" | grep -v '/mapper/control$' |
10 grep -v '/mapper/[[:alnum:]]\+-[[:alnum:]]\+$' | uniq |
11 @@ -116,6 +117,7 @@
12 -e 's%.*/floppy/[0-9]*$%%' \
13 -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%' \
14 -e 's%.*c[0-7]d[0-9]*p%%' \
15 + -e 's%.*/mapper/[[:alpha:]]\+[[:digit:]]\+p\([[:digit:]]\+\)$%\1%' \
16 -e 's%.*/mapper/[[:alpha:]]\+_[[:alpha:]]\+\([[:digit:]]\+\)$%\1%' |
17 grep -v '.*/mapper/.*'`
18 ;;