summarylogtreecommitdiffstats
path: root/grub-install_aoe_support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'grub-install_aoe_support.patch')
-rw-r--r--grub-install_aoe_support.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/grub-install_aoe_support.patch b/grub-install_aoe_support.patch
new file mode 100644
index 000000000000..fef89aec1c6f
--- /dev/null
+++ b/grub-install_aoe_support.patch
@@ -0,0 +1,23 @@
+Index: b/util/grub-install.in
+===================================================================
+--- a/util/grub-install.in
++++ b/util/grub-install.in
+@@ -148,13 +148,16 @@
+ -e 's%\(d[0-9]*\)p[0-9]*$%\1%' \
+ -e 's%\(fd[0-9]*\)$%\1%' \
+ -e 's%/part[0-9]*$%/disc%' \
+- -e 's%\(c[0-7]d[0-9]*\).*$%\1%'`
++ -e 's%\(c[0-7]d[0-9]*\).*$%\1%' \
++ -e 's%\(e[0-9]\.[0-9]*\).*$%\1%'`
+ tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' \
+ -e 's%.*d[0-9]*p%%' \
+ -e 's%.*/fd[0-9]*$%%' \
+ -e 's%.*/floppy/[0-9]*$%%' \
+ -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%' \
+- -e 's%.*c[0-7]d[0-9]*p%%'`
++ -e 's%.*c[0-7]d[0-9]*p*%%' \
++ -e 's%.*e[0-9]\.[0-9]*p%%' \
++ -e 's%.*e[0-9]\.[0-9]*\$%%'`
+ ;;
+ gnu*)
+ tmp_disk=`echo "$1" | sed 's%\([sh]d[0-9]*\).*%\1%'`