From 4aebdb4a3e264dfe53c06beddf26b3054c57eec7 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 7 Nov 2020 20:31:36 +0100 Subject: [PATCH] phase1: treat "kmod_archive" as bool option Fixes: 9ad60fa ("phase1: add config option to enable/disable kmod archive") Signed-off-by: Jo-Philipp Wich --- phase1/master.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phase1/master.cfg b/phase1/master.cfg index 547633d..74866e2 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -192,7 +192,7 @@ if ini.has_option("usign", "comment"): enable_kmod_archive = False if ini.has_option("phase1", "kmod_archive"): - enable_kmod_archive = (ini.getint("phase1", "kmod_archive") == 1) + enable_kmod_archive = ini.getboolean("phase1", "kmod_archive") # find targets -- 2.30.2