]> git.dujemihanovic.xyz Git - u-boot.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)
commit24cf707ed71534f6c4dc9a4a04f9a7b4c93d286b
treee7f87521157f21660340bade6feb5133320ac720
parentae794fae091759aa53fd2f88b09a8e5f31688167
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