summarylogtreecommitdiffstats
path: root/grub-install_xvd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'grub-install_xvd.patch')
-rw-r--r--grub-install_xvd.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/grub-install_xvd.patch b/grub-install_xvd.patch
new file mode 100644
index 000000000000..4e01d38134cb
--- /dev/null
+++ b/grub-install_xvd.patch
@@ -0,0 +1,13 @@
+Index: b/util/grub-install.in
+===================================================================
+--- a/util/grub-install.in
++++ b/util/grub-install.in
+@@ -104,7 +104,7 @@
+ )"
+
+ # Convert RAID devices list into a list of disks
+- tmp_disks=`echo "$devices" | sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' \
++ tmp_disks=`echo "$devices" | sed -e 's%\(\(s\|h\|xv\)d[a-z]\)[0-9]*$%\1%' \
+ -e 's%\(d[0-9]*\)p[0-9]*$%\1%' \
+ -e 's%\(fd[0-9]*\)$%\1%' \
+ -e 's%/part[0-9]*$%/disc%' \