]> 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, 4 Sep 2015 10:56:34 +0000 (11:56 +0100)
commit953d78becfef9ff4ae0620df527fa25fc317002d
tree6ef3840a1fa67c18b747a26ae7930159b020c060
parent11392b57ed24d3c8bf7fdfa49d9509a9d8ace98b
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-05-14

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