summaryrefslogtreecommitdiffstats
path: root/lib/types
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-06-28 14:45:19 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-12-03 14:48:41 +1100
commit87017f0478536fcb927010618be483a5efe9260c (patch)
tree27611e71b2b07574be22487e3a45d81f497db733 /lib/types
parent07f6db7fc29a93fae3213af18371cccb17e0276a (diff)
downloadtalos-petitboot-87017f0478536fcb927010618be483a5efe9260c.tar.gz
talos-petitboot-87017f0478536fcb927010618be483a5efe9260c.zip
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>
Diffstat (limited to 'lib/types')
-rw-r--r--lib/types/types.h1
1 files changed, 1 insertions, 0 deletions
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;
OpenPOWER on IntegriCloud