[RFC V2 PATCH 0/6] Implement ordered boot options

Samuel Mendoza-Jonas sam.mj at au1.ibm.com
Tue Jan 27 15:29:44 AEDT 2015


This patchset contains the full set of changes required to update
petitboot to support multiple, ordered autoboot options, barring three
notable exceptions:
- Exact delimeter used to separate petitboot,bootdev options may change.
- Button names in nc-config may change after UI testing.
- The help text for nc-config needs to be updated to reflect new behaviour.

Samuel Mendoza-Jonas (6):
  lib: Define autoboot_options, device_type helpers
  discover: Add support for multiple bootdev arguments
  ui/ncurses: Add nc_widget_subset
  ui/ncurses: Add nc-subset selection screen
  ui/ncurses: Use sorted field navigation
  petitboot: Implement ordered boot options

 discover/device-handler.c     |  54 +++---
 discover/platform-powerpc.c   | 113 +++++++++++--
 discover/platform.c           |  49 ++----
 lib/Makefile.am               |   1 +
 lib/pb-config/pb-config.c     |  26 +--
 lib/pb-protocol/pb-protocol.c |  55 ++++---
 lib/types/types.c             |  51 ++++++
 lib/types/types.h             |  26 +--
 ui/ncurses/Makefile.am        |   4 +-
 ui/ncurses/nc-config.c        | 324 +++++++++++++++++++++++-------------
 ui/ncurses/nc-cui.c           |  24 +++
 ui/ncurses/nc-cui.h           |   3 +
 ui/ncurses/nc-scr.h           |   1 +
 ui/ncurses/nc-subset.c        | 295 +++++++++++++++++++++++++++++++++
 ui/ncurses/nc-subset.h        |  36 ++++
 ui/ncurses/nc-widgets.c       | 374 +++++++++++++++++++++++++++++++++++++++++-
 ui/ncurses/nc-widgets.h       |  19 +++
 utils/pb-config.c             |  11 +-
 18 files changed, 1219 insertions(+), 247 deletions(-)
 create mode 100644 lib/types/types.c
 create mode 100644 ui/ncurses/nc-subset.c
 create mode 100644 ui/ncurses/nc-subset.h

-- 
1.9.3



More information about the Petitboot mailing list