@Colin, @Hsin-Yi
I have done a new patch that adds 100ms delay and checks hotkey in:
file: ${src}/grub-core/normal/menu.c
...
  /* If timeout is 0, drawing is pointless (and ugly). */
  if (grub_menu_get_timeout () == 0)
    {
      *auto_boot = 1;
      return default_entry;
    }
...
With this patch, we only have to set --hotkey f9 to menuentry, and users can
press f9 to enter recovery mode even grub runs in quiet mode.

** Patch added: "ubuntu_quiet_hotkey.patch"
   
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1178618/+attachment/3688381/+files/ubuntu_quiet_hotkey.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1178618

Title:
  --hotkey option does not work when the menu is hidden

To manage notifications about this bug go to:
https://bugs.launchpad.net/grub/+bug/1178618/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to