usign_comment = ini.get("usign", "comment")
enable_kmod_archive = False
+embed_kmod_repository = False
if ini.has_option("phase1", "kmod_archive"):
enable_kmod_archive = ini.getboolean("phase1", "kmod_archive")
+if ini.has_option("phase1", "kmod_repository"):
+ embed_kmod_repository = ini.getboolean("phase1", "kmod_repository")
+
# find targets
targets = [ ]
haltOnFailure = True
))
- if enable_kmod_archive:
+ if enable_kmod_archive and embed_kmod_repository:
# embed kmod repository. Must happen before 'images'
# find rootfs staging directory