[PATCH 0/5] Implement a set of hotkeys for temporary autoboot override

Jeremy Kerr jk at ozlabs.org
Tue Jul 3 16:34:42 AEST 2018


This series implements a set of function keys to temporarily apply an
autoboot policy (ie, only boot from certain device types). These
mappings are:

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

One quirk of these keys is that they need to *not* interrupt the
autoboot process (unlike all existing key inputs).

Jeremy Kerr (5):
  protocol: Add definition and serialisation for temporary autoboot
  discover/handler: Split autoboot matching into a new function
  discover/handler: Implement temporary autoboot messages
  ui/ncurses: Implement non-boot-cancelling keys
  ui/ncurses: Implement F10-F12 for autoboot device control

 discover/device-handler.c     | 122 +++++++++++++++++++++++++++++++++++-------
 discover/device-handler.h     |   2 +
 discover/discover-server.c    |  16 ++++++
 lib/pb-protocol/pb-protocol.c |  70 ++++++++++++++++++++++++
 lib/pb-protocol/pb-protocol.h |   6 +++
 ui/common/discover-client.c   |  18 +++++++
 ui/common/discover-client.h   |   4 ++
 ui/ncurses/nc-cui-help.c      |   9 ++++
 ui/ncurses/nc-cui.c           |  65 +++++++++++++++++++++-
 ui/ncurses/nc-cui.h           |   1 +
 10 files changed, 292 insertions(+), 21 deletions(-)

-- 
2.14.1



More information about the Petitboot mailing list