]> git.ozlabs.org Git - petitboot/commit - discover/device-handler.c
ui/ncurses: Implement F10-F12 for autoboot device control
authorJeremy Kerr <jk@ozlabs.org>
Tue, 3 Jul 2018 06:34:47 +0000 (16:34 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 10 Jul 2018 03:46:12 +0000 (13:46 +1000)
commit99a1f905f585480cca2c9a43ab18ed8e37365192
tree9839c5ce9a791cd206388f81d3a844ba82965ff7
parent47c55b245aab729a9c23bfb830329022c7b25d83
ui/ncurses: Implement F10-F12 for autoboot device control

Add a few mappings to specify temporary autoboot settings:

  F10: Only autoboot from disk
  F11: Only autoboot from USB devices
  F12: Only autoboot from network

These use the new code to prevent cancelling autoboot.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/device-handler.c
ui/common/discover-client.c
ui/common/discover-client.h
ui/ncurses/nc-cui-help.c
ui/ncurses/nc-cui.c
ui/ncurses/nc-cui.h