[PATCH V2] Add device hierarchy to ncurses ui

Samuel Mendoza-Jonas sam.mj at au1.ibm.com
Mon Jul 7 11:31:22 EST 2014


*** BLURB HERE ***
This patch groups boot options under their respective devices to
make differentiating similarly named boot options easier.

Example:

Petitboot (20140702-g9b21c915)
 ────────────────────────────────────────────────────────────────────────────────
  [Disk: dm-1 / 67ea9766-00dd-45ce-9db3-219e02e72d10]
      Fedora, with Linux 0-rescue-462207c14ff045f59fd3af13555152e4
  [Interface: em1 / 3c:97:0e:c6:50:e1]
      netboot

  System information
  System configuration
  Rescan devices
 *Exit to shell

v2:
- Merged patches into one
- Moved finding device out to separate function
- syntax/style fixes

Samuel Mendoza-Jonas (1):
  ui/ncurses: Add device hierarchy

 ui/ncurses/nc-cui.c  |  42 ++++++++++++---
 ui/ncurses/nc-menu.c | 148 +++++++++++++++++++++++++++++++++++++++++++++++++++
 ui/ncurses/nc-menu.h |   4 ++
 3 files changed, 186 insertions(+), 8 deletions(-)

-- 
1.9.3



More information about the Petitboot mailing list