summarylogtreecommitdiffstats
path: root/os-prober-mounted-partitions-fix.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-mounted-partitions-fix.patch
parent5271f23d8ac140f2db82697b645c38a41ccc78ac (diff)
downloadaur-752ceb29fd23a6c4cffbca9f65adad1cb53f4872.tar.gz
add patches from opensuse
Diffstat (limited to 'os-prober-mounted-partitions-fix.patch')
-rw-r--r--os-prober-mounted-partitions-fix.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/os-prober-mounted-partitions-fix.patch b/os-prober-mounted-partitions-fix.patch
deleted file mode 100644
index aecfc9f971c8..000000000000
--- a/os-prober-mounted-partitions-fix.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Index: os-prober/common.sh
-===================================================================
---- os-prober.orig/common.sh
-+++ os-prober/common.sh
-@@ -146,7 +146,7 @@ parse_proc_mounts () {
- set -f
- set -- $line
- set +f
-- printf '%s %s %s\n' "$(mapdevfs "$1")" "$2" "$3"
-+ printf '%s %s %s %s\n' "$(mapdevfs "$1")" "$2" "$3" "$1"
- done
- }
-
-Index: os-prober/linux-boot-prober
-===================================================================
---- os-prober.orig/linux-boot-prober
-+++ os-prober/linux-boot-prober
-@@ -167,7 +167,7 @@ else
- bootpart="${mountboot%% *}"
- bootmounted="${mountboot#* }"
- else
-- bootpart="$partition"
-+ bootpart="$(grep " $mpoint/boot " "$OS_PROBER_TMP/mounted-map" | head -n1 | cut -d " " -f 4)"
- bootmounted=0
- fi
- for test in /usr/lib/linux-boot-probes/mounted/*; do