Systemd/src/boot
Leonid Bloch 26601a2a17 sd-boot: Add a 0.1 second delay before key-probing for showing menu
If there is no boot menu timeout, pressing a key during boot should get
the boot menu displayed. However, on some systems the keyboard is not
initialized right away, which causes the menu to be inaccessible if no
timeout is specified.

To resolve this, if the error is "not ready" after the initial attempt of
detection, wait for 0.1 second and retry. This solves the problem
described above on all the tested systems.

The reason for just a single retry, and not retrying while "not ready",
is that some firmwares continue to return the "not ready" error on
every probe attempt if no key is pressed.

Signed-off-by: Leonid Bloch <lb.workbox@gmail.com>
2019-12-04 10:52:28 +01:00
..
efi sd-boot: Add a 0.1 second delay before key-probing for showing menu 2019-12-04 10:52:28 +01:00
bless-boot-generator.c
bless-boot.c tree-wide: clean up --help texts a bit 2019-11-18 15:14:43 +01:00
boot-check-no-failures.c tree-wide: clean up --help texts a bit 2019-11-18 15:14:43 +01:00
bootctl.c bootctl: make 'random-seed' handle inability to write system token EFI variable gracefully 2019-11-21 19:55:17 +01:00