Blame SOURCES/os-prober-factored-logger-efi-fix.patch

85c4c1
Index: os-prober/os-probes/mounted/x86/05efi
85c4c1
===================================================================
85c4c1
--- os-prober.orig/os-probes/mounted/x86/05efi
85c4c1
+++ os-prober/os-probes/mounted/x86/05efi
85c4c1
@@ -59,7 +59,11 @@ ret=1
85c4c1
 for test in /usr/lib/os-probes/mounted/efi/*; do
85c4c1
 	debug "running subtest $test"
85c4c1
 	if [ -f "$test" ] && [ -x "$test" ]; then
85c4c1
+		# we need results of subtest in stdout
85c4c1
+		orig_fd_res=$fd_result
85c4c1
+		export fd_result=1
85c4c1
 		entry=$("$test" "$mpoint/$efi")
85c4c1
+		export fd_result=$orig_fd_res
85c4c1
 		if [ -n "$entry" ]; then
85c4c1
 			debug "bootloader $entry found by subtest $test"
85c4c1
 			ret=0