From 27b6767f63208803c2d87eab88f1467add649ada Mon Sep 17 00:00:00 2001 From: rpm-build Date: Sep 16 2020 09:38:16 +0000 Subject: os-prober-grepfix.patch patch_name: os-prober-grepfix.patch present_in_specfile: true location_in_specfile: 10 --- diff --git a/os-probes/mounted/x86/83haiku b/os-probes/mounted/x86/83haiku index 6de7a1d..16d0767 100755 --- a/os-probes/mounted/x86/83haiku +++ b/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"