summarylogtreecommitdiffstats
path: root/os-prober-bootpart-name-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-bootpart-name-fix.patch
parent5271f23d8ac140f2db82697b645c38a41ccc78ac (diff)
downloadaur-752ceb29fd23a6c4cffbca9f65adad1cb53f4872.tar.gz
add patches from opensuse
Diffstat (limited to 'os-prober-bootpart-name-fix.patch')
-rw-r--r--os-prober-bootpart-name-fix.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/os-prober-bootpart-name-fix.patch b/os-prober-bootpart-name-fix.patch
deleted file mode 100644
index 40a909da3f4..00000000000
--- a/os-prober-bootpart-name-fix.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Index: os-prober/common.sh
-===================================================================
---- os-prober.orig/common.sh
-+++ os-prober/common.sh
-@@ -269,7 +269,7 @@ linux_mount_boot () {
- if [ "$bindfrom" != "$tmpmnt/boot" ]; then
- if mount --bind "$bindfrom" "$tmpmnt/boot"; then
- mounted=1
-- bootpart="$1"
-+ bootpart="$tmppart"
- else
- debug "failed to bind-mount $bindfrom onto $tmpmnt/boot"
- fi
-@@ -277,6 +277,15 @@ linux_mount_boot () {
- fi
- if [ "$mounted" ]; then
- :
-+ elif [ -e "$tmppart" ]; then
-+ bootpart="$tmppart"
-+ boottomnt="$tmppart"
-+ elif [ -e "$tmpmnt/$tmppart" ]; then
-+ bootpart="$tmppart"
-+ boottomnt="$tmpmnt/$tmppart"
-+ elif [ -e "/target/$tmppart" ]; then
-+ bootpart="$tmppart"
-+ boottomnt="/target/$tmppart"
- elif [ -e "$1" ]; then
- bootpart="$1"
- boottomnt="$1"