diff options
author | Librewish | 2020-10-25 15:57:24 +0530 |
---|---|---|
committer | Librewish | 2020-10-25 15:57:24 +0530 |
commit | 5271f23d8ac140f2db82697b645c38a41ccc78ac (patch) | |
tree | c6b82c2b8538c1bdf9de3f43e4d1e88bb0fb4f61 /os-prober-grub2-parsefix.patch | |
download | aur-5271f23d8ac140f2db82697b645c38a41ccc78ac.tar.gz |
update
Diffstat (limited to 'os-prober-grub2-parsefix.patch')
-rw-r--r-- | os-prober-grub2-parsefix.patch | 22 |
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 000000000000..0ef8bdafacce --- /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 |