ui/ncurses: Add device selector to boot editor
authorJeremy Kerr <jk@ozlabs.org>
Sun, 17 Nov 2013 08:36:55 +0000 (19:36 +1100)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 22 Nov 2013 02:45:54 +0000 (10:45 +0800)
commit97c851090d74ef0a465464145cbe3a8a43cba547
tree195a6c6b3c97180eef7067a93ec8fad7f7c43fe1
parent2af53a5c31a1b0c64bdfd4d115b42238a52c3af1
ui/ncurses: Add device selector to boot editor

Rather than expecting users to enter full (prefixed) mount paths, add a
select widget to pick a device, and we automatically add the prefix when
the form is submitted.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
ui/ncurses/nc-boot-editor.c