[PATCH RFC 0/3] Ordered list of autoboot options

Samuel Mendoza-Jonas sam.mj at au1.ibm.com
Tue Dec 16 10:43:58 AEDT 2014


This patchset includes the base changes to support an ordered list of
possible autoboot options, replacing the boot_priority concept.
The UI is modified only to handle the first option of such a list -
a later patch updates it to display the full list to the user, alongside
a display of IPMI bootdevs.

Points still to finalise:
Final order of ipmi-next-boot, ipmi-default-boot, and boot_order (uuid/type).
How to order autoboot options relative to the default_priority enum.
Format of order presented to user (should UUIDs be mixed with device types,
	and should more than one UUID option be allowed).

Samuel Mendoza-Jonas (3):
  lib: Define autoboot options device_type helpers
  discover: Add read_bootdev for comma separated nvram values
  all: Implement boot order

 discover/device-handler.c     |  49 +++++++++++++-----
 discover/platform-powerpc.c   | 112 +++++++++++++++++++++++++++++++++++-------
 discover/platform.c           |  16 ++++--
 lib/Makefile.am               |   1 +
 lib/pb-config/pb-config.c     |  17 +++++--
 lib/pb-protocol/pb-protocol.c |  38 ++++++++++++--
 lib/types/types.c             |  37 ++++++++++++++
 lib/types/types.h             |  17 +++++++
 ui/ncurses/nc-config.c        |  73 +++++++++++++++++++++------
 utils/pb-config.c             |   9 +++-
 10 files changed, 313 insertions(+), 56 deletions(-)
 create mode 100644 lib/types/types.c

-- 
1.9.3



More information about the Petitboot mailing list