]> git.proxmox.com Git - grub2.git/commit
Add configure option to bypass boot menu if possible
authorColin Watson <cjwatson@ubuntu.com>
Mon, 13 Jan 2014 12:13:28 +0000 (12:13 +0000)
committerColin Watson <cjwatson@debian.org>
Fri, 23 Jun 2017 09:07:57 +0000 (10:07 +0100)
commit894139cf8b01c322436e4a22c9453bcee9e33619
treea0c757b487eb47e965437225b7d9e428f2bfaf77
parentc7c89c4058070efe763080bd897adcb578f00185
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
configure.ac
docs/grub.texi
grub-core/normal/menu.c
util/grub-mkconfig.in
util/grub.d/00_header.in
util/grub.d/10_linux.in
util/grub.d/30_os-prober.in