From: Jeremy Kerr Date: Thu, 18 Sep 2014 11:21:00 +0000 (+0800) Subject: ui/ncurses: Fix clearing a boot device UUID X-Git-Tag: v1.0.0~110 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=29f9a3a7e503f731fe891d21bedf29c08a20383f;hp=29f9a3a7e503f731fe891d21bedf29c08a20383f 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 ---