From 87017f0478536fcb927010618be483a5efe9260c Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Thu, 28 Jun 2018 14:45:19 +1000 Subject: 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 --- lib/types/types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/types') diff --git a/lib/types/types.h b/lib/types/types.h index f5392c8..39760d9 100644 --- a/lib/types/types.h +++ b/lib/types/types.h @@ -54,6 +54,7 @@ struct boot_option { char *boot_args; char *args_sig_file; bool is_default; + bool is_autoboot_default; struct list_item list; -- cgit v1.2.1