From f47d82e344a0a63bbdacda518b52562c40eefff9 Mon Sep 17 00:00:00 2001 From: Kye Shi Date: Wed, 9 Dec 2020 16:03:36 -0800 Subject: [PATCH] gummiboot: WaitForKeyEx hanging workaround (see systemd/systemd#3735) --- srcpkgs/gummiboot/patches/fix-waitforkey.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/gummiboot/patches/fix-waitforkey.patch diff --git a/srcpkgs/gummiboot/patches/fix-waitforkey.patch b/srcpkgs/gummiboot/patches/fix-waitforkey.patch new file mode 100644 index 00000000000..de0f9f6e233 --- /dev/null +++ b/srcpkgs/gummiboot/patches/fix-waitforkey.patch @@ -0,0 +1,14 @@ +--- console.c 2015-03-11 16:50:35.000000000 -0700 ++++ console.c 2020-12-09 15:41:19.837704801 -0800 +@@ -96,10 +96,7 @@ + + /* wait until key is pressed */ + if (wait) { +- if (TextInputEx) +- uefi_call_wrapper(BS->WaitForEvent, 3, 1, &TextInputEx->WaitForKeyEx, &index); +- else +- uefi_call_wrapper(BS->WaitForEvent, 3, 1, &ST->ConIn->WaitForKey, &index); ++ uefi_call_wrapper(BS->WaitForEvent, 3, 1, &ST->ConIn->WaitForKey, &index); + } + + if (TextInputEx) {