[PATCH v2 4/5] ui/ncurses: Update LOCKDOWN_FILE check to reflect generic SIGNED_BOOT

Brett Grandbois brett.grandbois at opengear.com
Tue May 15 10:55:51 AEST 2018


Signed-off-by: Brett Grandbois <brett.grandbois at opengear.com>
---
 ui/ncurses/nc-boot-editor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.7.4



More information about the Petitboot mailing list