Blame SOURCES/os-prober-grub2-parsefix.patch

03b69a
Index: os-prober-1.58/linux-boot-probes/mounted/common/40grub2
03b69a
===================================================================
03b69a
--- os-prober-1.58.orig/linux-boot-probes/mounted/common/40grub2
03b69a
+++ os-prober-1.58/linux-boot-probes/mounted/common/40grub2
03b69a
@@ -77,7 +77,7 @@ parse_grub_menu () {
03b69a
 					ignore_item=1
03b69a
 				fi
03b69a
 			;;
03b69a
-			linux)
03b69a
+			linux*)
03b69a
 				# Hack alert: sed off any (hdn,n) but
03b69a
 				# assume the kernel is on the same
03b69a
 				# partition.
03b69a
@@ -90,7 +90,7 @@ parse_grub_menu () {
03b69a
 					kernel="/boot$kernel"
03b69a
 				fi
03b69a
 			;;
03b69a
-			initrd)
03b69a
+			initrd*)
03b69a
 				initrd="$(echo "$2" | sed 's/(.*)//')"
03b69a
 				# Initrd same.
03b69a
 				if [ "$partition" != "$bootpart" ]; then