summarylogtreecommitdiffstats
path: root/os-prober-grepfix.patch
diff options
context:
space:
mode:
authorlibrewish2021-09-15 20:42:07 +0530
committerlibrewish2021-09-15 20:42:07 +0530
commit69cab91b343aef6d0c887aeae6cbc0ddbdcbccc0 (patch)
treede271501214faa303bf11b33099534696c1852a9 /os-prober-grepfix.patch
parent66857a13aebc4ff4da0f06b027231b18cdefc314 (diff)
downloadaur-69cab91b343aef6d0c887aeae6cbc0ddbdcbccc0.tar.gz
revert all patches
Diffstat (limited to 'os-prober-grepfix.patch')
-rw-r--r--os-prober-grepfix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/os-prober-grepfix.patch b/os-prober-grepfix.patch
new file mode 100644
index 00000000000..4dadd4f57ba
--- /dev/null
+++ b/os-prober-grepfix.patch
@@ -0,0 +1,13 @@
+Index: os-prober/os-probes/mounted/x86/83haiku
+===================================================================
+--- os-prober.orig/os-probes/mounted/x86/83haiku
++++ os-prober/os-probes/mounted/x86/83haiku
+@@ -13,7 +13,7 @@ case "$type" in
+ *) debug "$partition is not a BeFS partition: exiting"; exit 1 ;;
+ esac
+
+-if head -c 512 "$partition" | grep -qs "system.haiku_loader"; then
++if head -c 512 "$partition" | grep -aqs "system.haiku_loader"; then
+ debug "Stage 1 bootloader found"
+ else
+ debug "Stage 1 bootloader not found: exiting"