]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: initrddump: drain input before prompt
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 22 Mar 2022 17:20:07 +0000 (18:20 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 26 Mar 2022 06:46:21 +0000 (07:46 +0100)
commit80b12b29be7ce6e0357de212331bd1d23a7b19b9
treee7f87521157f21660340bade6feb5133320ac720
parenta03d01dc1b4d93ac6457bc5a616eb43467f8899b
efi_loader: initrddump: drain input before prompt

Up to now the initrddump.efi application has drained the input after
showing the prompt. This works for humans but leads to problems when
automating testing. If the input is drained, this should be done before
showing the prompt.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/initrddump.c