diff options
author | librewish | 2021-09-15 20:42:07 +0530 |
---|---|---|
committer | librewish | 2021-09-15 20:42:07 +0530 |
commit | 69cab91b343aef6d0c887aeae6cbc0ddbdcbccc0 (patch) | |
tree | de271501214faa303bf11b33099534696c1852a9 /os-prober-umount-fix.patch | |
parent | 66857a13aebc4ff4da0f06b027231b18cdefc314 (diff) | |
download | aur-69cab91b343aef6d0c887aeae6cbc0ddbdcbccc0.tar.gz |
revert all patches
Diffstat (limited to 'os-prober-umount-fix.patch')
-rw-r--r-- | os-prober-umount-fix.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/os-prober-umount-fix.patch b/os-prober-umount-fix.patch new file mode 100644 index 000000000000..6e7937c161b9 --- /dev/null +++ b/os-prober-umount-fix.patch @@ -0,0 +1,18 @@ +Index: os-prober/common.sh +=================================================================== +--- os-prober.orig/common.sh ++++ os-prober/common.sh +@@ -336,3 +336,13 @@ linux_mount_boot () { + + mountboot="$bootpart $mounted" + } ++ ++umount_exec=$(which umount) ++umount() { ++ if ! $umount_exec $@ 2> /dev/null; then ++ error "umount error, retrying after 1 sec" ++ sleep 1 ++ $umount_exec $@ ++ fi ++} ++ |