summarylogtreecommitdiffstats
path: root/os-prober-grub2-parsefix.patch
diff options
context:
space:
mode:
authorlibrewish2021-09-15 20:42:07 +0530
committerlibrewish2021-09-15 20:42:07 +0530
commit69cab91b343aef6d0c887aeae6cbc0ddbdcbccc0 (patch)
treede271501214faa303bf11b33099534696c1852a9 /os-prober-grub2-parsefix.patch
parent66857a13aebc4ff4da0f06b027231b18cdefc314 (diff)
downloadaur-os-prober-btrfs.tar.gz
revert all patches
Diffstat (limited to 'os-prober-grub2-parsefix.patch')
-rw-r--r--os-prober-grub2-parsefix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/os-prober-grub2-parsefix.patch b/os-prober-grub2-parsefix.patch
new file mode 100644
index 00000000000..0ef8bdafacc
--- /dev/null
+++ b/os-prober-grub2-parsefix.patch
@@ -0,0 +1,22 @@
+Index: os-prober-1.58/linux-boot-probes/mounted/common/40grub2
+===================================================================
+--- os-prober-1.58.orig/linux-boot-probes/mounted/common/40grub2
++++ os-prober-1.58/linux-boot-probes/mounted/common/40grub2
+@@ -77,7 +77,7 @@ parse_grub_menu () {
+ 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 @@ parse_grub_menu () {
+ kernel="/boot$kernel"
+ fi
+ ;;
+- initrd)
++ initrd*)
+ initrd="$(echo "$2" | sed 's/(.*)//')"
+ # Initrd same.
+ if [ "$partition" != "$bootpart" ]; then