[Bug 1178618] Re: --hotkey option does not work when the menu is hidden
Adam Conrad
adconrad at 0c3.net
Fri Dec 6 09:49:05 UTC 2013
Hello Hsin-Yi, or anyone else affected,
Accepted grub2 into precise-proposed. The package will build now and be
available at http://launchpad.net/ubuntu/+source/grub2/1.99-21ubuntu3.14
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: grub2 (Ubuntu Precise)
Status: Triaged => Fix Committed
** Tags added: verification-needed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1178618
Title:
--hotkey option does not work when the menu is hidden
Status in GRand Unified Bootloader:
New
Status in OEM Priority Project:
Confirmed
Status in OEM Priority Project precise series:
Confirmed
Status in “grub2” package in Ubuntu:
Fix Released
Status in “grub2” source package in Precise:
Fix Committed
Bug description:
Grub2 can detect key modifier status in 'sleep --interruptible',
so that you can interrupt the sleep by pressing Shift.
(src: grub-core/commands/sleep.c)
It will be useful if grub2 can also detect function key status,
so user can boot to pre-defined grub menu entry by press specified
function key.
Here is a proposed command name and usage.
- getfunctionkey -i {sec} {keyname}
Here is an example of configuration that user can start memory test
whiling he is pressing F9.
```
if ! getfunctionkey -i 3 f9 ; then
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root d458babc-81f0-4dd7-ac88-410407141e2c
linux16 /boot/memtest86+.bin
}
fi
```
To manage notifications about this bug go to:
https://bugs.launchpad.net/grub/+bug/1178618/+subscriptions
More information about the foundations-bugs
mailing list