summarylogtreecommitdiffstats
path: root/os-prober-grub2-multiple-images.patch
diff options
context:
space:
mode:
authorlibrewish2021-09-12 20:30:34 +0530
committerlibrewish2021-09-12 20:30:34 +0530
commit752ceb29fd23a6c4cffbca9f65adad1cb53f4872 (patch)
treea41fd50e983356d81f724b91463f8855bae07d9a /os-prober-grub2-multiple-images.patch
parent5271f23d8ac140f2db82697b645c38a41ccc78ac (diff)
downloadaur-752ceb29fd23a6c4cffbca9f65adad1cb53f4872.tar.gz
add patches from opensuse
Diffstat (limited to 'os-prober-grub2-multiple-images.patch')
-rw-r--r--os-prober-grub2-multiple-images.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/os-prober-grub2-multiple-images.patch b/os-prober-grub2-multiple-images.patch
deleted file mode 100644
index fe2debfe22c..00000000000
--- a/os-prober-grub2-multiple-images.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -rupN os-prober.old/linux-boot-probes/mounted/common/40grub2 os-prober/linux-boot-probes/mounted/common/40grub2
---- os-prober.old/linux-boot-probes/mounted/common/40grub2 2015-07-30 15:47:15.487062200 +0200
-+++ os-prober/linux-boot-probes/mounted/common/40grub2 2015-07-30 15:53:39.593770984 +0200
-@@ -78,10 +78,10 @@ parse_grub_menu () {
- fi
- ;;
- initrd*)
-- initrd="$(echo "$2" | sed 's/(.*)//')"
-- # Initrd same.
- if [ "$partition" != "$bootpart" ]; then
-- initrd="/boot$initrd"
-+ initrd="$(echo "$line" | sed 's/initrd//;s/\t//;s|/|/boot/|g;s/(.*)//')"
-+ else
-+ initrd="$(echo "$line" | sed 's/initrd//;s/\t//;s/(.*)//')"
- fi
- ;;
- "}")
-diff -rupN os-prober.old/linux-boot-probes/mounted/x86/40grub os-prober/linux-boot-probes/mounted/x86/40grub
---- os-prober.old/linux-boot-probes/mounted/x86/40grub 2015-07-30 15:47:15.487062200 +0200
-+++ os-prober/linux-boot-probes/mounted/x86/40grub 2015-07-30 15:57:00.508864273 +0200
-@@ -66,10 +66,10 @@ parse_grub_menu () {
- initrd)
- # Hack alert take 2: sed off any (hdn,n)
- # See #566102
-- initrd="$(echo "$2" | sed 's/(.*)//')"
-- # Initrd same.
- if [ "$partition" != "$bootpart" ]; then
-- initrd="/boot$initrd"
-+ initrd="$(echo "$line" | sed 's/initrd//;s/\t//;s|/|/boot/|g;s/(.*)//')"
-+ else
-+ initrd="$(echo "$line" | sed 's/initrd//;s/\t//;s/(.*)//')"
- fi
- ;;
- boot)