phase1: add config option to enable/disable kmod archive
authorJo-Philipp Wich <jo@mein.io>
Sat, 7 Nov 2020 19:11:13 +0000 (20:11 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sat, 7 Nov 2020 19:11:13 +0000 (20:11 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
phase1/master.cfg

index 3ba7a1606e89b095b10555e703ea96e93295deec..547633d6c171b80b4da5d6a1f12023115b116c7c 100644 (file)
@@ -189,7 +189,10 @@ if ini.has_option("usign", "key"):
 if ini.has_option("usign", "comment"):
        usign_comment = ini.get("usign", "comment")
 
-enable_kmod_archive = True
+enable_kmod_archive = False
+
+if ini.has_option("phase1", "kmod_archive"):
+       enable_kmod_archive = (ini.getint("phase1", "kmod_archive") == 1)
 
 
 # find targets