diff options
author | Librewish | 2020-10-25 15:57:24 +0530 |
---|---|---|
committer | Librewish | 2020-10-25 15:57:24 +0530 |
commit | 5271f23d8ac140f2db82697b645c38a41ccc78ac (patch) | |
tree | c6b82c2b8538c1bdf9de3f43e4d1e88bb0fb4f61 /os-prober-grepfix.patch | |
download | aur-5271f23d8ac140f2db82697b645c38a41ccc78ac.tar.gz |
update
Diffstat (limited to 'os-prober-grepfix.patch')
-rw-r--r-- | os-prober-grepfix.patch | 13 |
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" |