Use xorrisofs for creating ISOs when needed

A new configuration *createiso_use_xorrisofs* is added to determine
which tool to use for creating ISOs.

By default, createiso_use_xorrisofs = False and genisoimage will be used.
When set to True, xorrisofs will be used.

JIRA: RHELCMP-2875
Fixes: https://pagure.io/pungi/issue/1130

Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
Haibo Lin 2020-11-16 11:56:53 +08:00
parent c27e21ccf8
commit 4c88e7dc0e
7 changed files with 33 additions and 4 deletions

View file

@ -1222,6 +1222,10 @@ Options
The staging directory is deleted when ISO is successfully created. In that
case the same task to create the ISO will not be re-runnable.
**createiso_use_xorrisofs** = False
(*bool*) -- when set to True, use ``xorrisofs`` for creating ISOs instead
of ``genisoimage``.
**iso_size** = 4700000000
(*int|str*) -- size of ISO image. The value should either be an integer
meaning size in bytes, or it can be a string with ``k``, ``M``, ``G``