summarylogtreecommitdiffstats
path: root/grub-install_xvd.patch
blob: 4e01d38134cb889656e7fc6687093924fa3baeb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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%' \