We've had issues with a bunch of our EFI machines getting random console input from God knows where. This stops our provisioning because the timeout countdown stops as it thinks we pressed a button, which we most certaintly did not. So open the input console in exclusive mode to make sure only the guy behind the wheel gets to type. With this patch we can no provision these weird machines. Thanks,
Signed-off-by: Josef Bacik <[email protected]> --- grub-core/term/efi/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/term/efi/console.c b/grub-core/term/efi/console.c index 7d31095..5be8530 100644 --- a/grub-core/term/efi/console.c +++ b/grub-core/term/efi/console.c @@ -201,7 +201,7 @@ grub_efi_console_input_init (struct grub_term_input *term) text_input = grub_efi_open_protocol(grub_efi_system_table->console_in_handler, &text_input_ex_guid, - GRUB_EFI_OPEN_PROTOCOL_GET_PROTOCOL); + GRUB_EFI_OPEN_PROTOCOL_BY_EXCLUSIVE); term->data = (void *)text_input; return 0; -- 2.5.0 _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
