]> git.ozlabs.org Git - petitboot/commit
ui/ncurses: Keep track of the default boot option
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Thu, 28 Jun 2018 04:45:19 +0000 (14:45 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Mon, 3 Dec 2018 03:48:41 +0000 (14:48 +1100)
commit87017f0478536fcb927010618be483a5efe9260c
tree27611e71b2b07574be22487e3a45d81f497db733
parent07f6db7fc29a93fae3213af18371cccb17e0276a
ui/ncurses: Keep track of the default boot option

Keep track of the default boot option, and prefix its display name with
a '(*)' to point it out to the user.
This avoids having to authenticate with pb-discover even if only booting
the default option.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/device-handler.c
lib/pb-protocol/pb-protocol.c
lib/types/types.h
ui/ncurses/nc-cui.c