grub2/grub-core/normal
Colin Watson b46c93ffc3 Add configure option to bypass boot menu if possible
If other operating systems are installed, then automatically unhide the
menu.  Otherwise, if GRUB_HIDDEN_TIMEOUT is 0, then use keystatus if
available to check whether Shift is pressed.  If it is, show the menu,
otherwise boot immediately.  If keystatus is not available, then fall
back to a short delay interruptible with Escape.

This may or may not remain Ubuntu-specific, although it's not obviously
wanted upstream.  It implements a requirement of
https://wiki.ubuntu.com/DesktopExperienceTeam/KarmicBootExperienceDesignSpec#Bootloader.

If the previous boot failed (defined as failing to get to the end of one
of the normal runlevels), then show the boot menu regardless.

Author: Richard Laager <rlaager@wiktel.com>
Author: Robie Basak <robie.basak@ubuntu.com>
Forwarded: no
Last-Update: 2015-09-04

Patch-Name: quick-boot.patch
2019-05-26 10:06:02 +01:00
..
auth.c core: use GRUB_TERM_ definitions when handling term characters 2017-08-07 19:28:22 +02:00
autofs.c verifiers: File type for fine-grained signature-verification controlling 2018-11-09 13:25:31 +01:00
charset.c charset: Trim away RLM and LRM. 2017-01-31 19:29:31 +01:00
cmdline.c core: use GRUB_TERM_ definitions when handling term characters 2017-08-07 19:28:22 +02:00
color.c Replace explicit sizeof divisions by ARRAY_SIZE. 2015-01-21 17:37:31 +01:00
completion.c Change fs functions to add fs_ prefix 2019-04-09 10:03:29 +10:00
context.c normal: fix memory leak 2015-06-20 23:38:19 +03:00
crypto.c verifiers: File type for fine-grained signature-verification controlling 2018-11-09 13:25:31 +01:00
datetime.c * grub-core/normal/datetime.c (grub_get_weekday): Use if rather than 2013-11-13 09:26:13 +01:00
dyncmd.c verifiers: File type for fine-grained signature-verification controlling 2018-11-09 13:25:31 +01:00
main.c Add configure option to reduce visual clutter at boot time 2019-05-26 10:06:02 +01:00
menu_entry.c core: use GRUB_TERM_ definitions when handling term characters 2017-08-07 19:28:22 +02:00
menu_text.c grub_menu_init_page: Avoid returning 0 geometry to avoid divisions by 0. 2015-01-21 17:42:15 +01:00
menu.c Add configure option to bypass boot menu if possible 2019-05-26 10:06:02 +01:00
misc.c Change fs functions to add fs_ prefix 2019-04-09 10:03:29 +10:00
term.c verifiers: File type for fine-grained signature-verification controlling 2018-11-09 13:25:31 +01:00