]> git.ozlabs.org Git - petitboot/commit
ui/ncurses: Fix clearing a boot device UUID
authorJeremy Kerr <jk@ozlabs.org>
Thu, 18 Sep 2014 11:21:00 +0000 (19:21 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 18 Sep 2014 11:21:00 +0000 (19:21 +0800)
commit29f9a3a7e503f731fe891d21bedf29c08a20383f
tree130aaf215a02078cd5f4e6be86d06947ad3d7364
parent3c173e909de0db1b2dd96b1d57851abb35bbdbc4
ui/ncurses: Fix clearing a boot device UUID

Currently, we have a bug where we can't clear a boot device UUID, as we
only update config->boot_device if we're in AUTOBOOT_ONE state. This
means that the config UI can't be used to change out of "autoboot from a
single device" mode.

This sets the autoboot device unconditionally, allowing it to be
cleared.

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