Merge #61 make jigdo optional (iii)

This commit is contained in:
Jon Disnard 2015-09-15 13:39:15 -05:00
commit fd537e5070
2 changed files with 21 additions and 15 deletions

View File

@ -451,10 +451,14 @@ Options
**createiso_skip** = False
(*list*) -- mapping that defines which variants and arches to skip during createiso; format: [(variant_uid_regex, {arch|*: True})]
**create_jigdo** = True
(*bool*) -- controls the creation of jigdo from ISO
.. note::
Source architecture needs to be listed explicitly.
Excluding '*' applies only on binary arches.
Jigdo causes significant increase of time to ISO creation.
Example

View File

@ -162,6 +162,8 @@ class CreateisoPhase(PhaseBase):
cmd["cmd"].append(iso.get_manifest_cmd(iso_name))
# create jigdo
create_jigdo = compose.conf.get("create_jigdo", True)
if create_jigdo:
jigdo = JigdoWrapper(logger=self.compose._logger)
jigdo_dir = self.compose.paths.compose.jigdo_dir(arch, variant)
files = [