summarylogtreecommitdiffstats
path: root/os-prober-grub2-parsefix.patch
blob: 809ea543254b5ed1b0a5c32cb4f98201479e7d07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --unified --recursive --text os-prober-1.81.orig/linux-boot-probes/mounted/common/40grub2 os-prober-1.81/linux-boot-probes/mounted/common/40grub2
--- os-prober-1.81.orig/linux-boot-probes/mounted/common/40grub2	2022-07-18 10:31:51.372650000 -0600
+++ os-prober-1.81/linux-boot-probes/mounted/common/40grub2	2022-07-18 10:32:59.484228659 -0600
@@ -77,7 +77,7 @@
 					ignore_item=1
 				fi
 			;;
-			linux)
+			linux*)
 				# Hack alert: sed off any (hdn,n) but
 				# assume the kernel is on the same
 				# partition.
@@ -90,7 +90,7 @@
 					kernel="/boot$kernel"
 				fi
 			;;
-			initrd)
+			initrd*)
 				shift
 				initrd=""
 				for initrd_path in "$@"; do