summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Grandbois <brett.grandbois@opengear.com>2018-05-15 10:55:51 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-05-30 14:23:44 +1000
commite370583366d72e55551f20e3f9b0457e787309bf (patch)
tree22c715f204397545cf1f1d36ace9772e4bd6e0f3
parent902ee86b042444a91e7122b56a204749d297d59d (diff)
downloadtalos-petitboot-e370583366d72e55551f20e3f9b0457e787309bf.zip
talos-petitboot-e370583366d72e55551f20e3f9b0457e787309bf.tar.gz
ui/ncurses: Update LOCKDOWN_FILE check to reflect generic SIGNED_BOOT
Signed-off-by: Brett Grandbois <brett.grandbois@opengear.com> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
-rw-r--r--ui/ncurses/nc-boot-editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ncurses/nc-boot-editor.c b/ui/ncurses/nc-boot-editor.c
index f302c52..2e5749b 100644
--- a/ui/ncurses/nc-boot-editor.c
+++ b/ui/ncurses/nc-boot-editor.c
@@ -636,7 +636,7 @@ struct boot_editor *boot_editor_init(struct cui *cui,
if (!boot_editor)
return NULL;
-#if defined(HAVE_LIBGPGME)
+#if defined(SIGNED_BOOT)
if (access(LOCKDOWN_FILE, F_OK) == -1)
boot_editor->use_signature_files = false;
else
OpenPOWER on IntegriCloud