parent
5574ad7817
commit
d1f0ed41ac
1 changed files with 3 additions and 2 deletions
|
|
@ -5747,8 +5747,6 @@ def _build_image(options, task_opts, session, args, img_type):
|
|||
print('')
|
||||
|
||||
hub_opts = {}
|
||||
if hasattr(task_opts, 'optional_arches'):
|
||||
hub_opts['optional_arches'] = task_opts.optional_arches.split(',')
|
||||
passthru_opts = [
|
||||
'format', 'install_tree_url', 'isoname', 'ksurl',
|
||||
'ksversion', 'release', 'repo', 'scratch', 'skip_tag',
|
||||
|
|
@ -5760,6 +5758,9 @@ def _build_image(options, task_opts, session, args, img_type):
|
|||
if val is not None:
|
||||
hub_opts[opt] = val
|
||||
|
||||
if hasattr(hub_opts, 'optional_arches'):
|
||||
hub_opts['optional_arches'] = hub_opts['optional_arches'].split(',')
|
||||
|
||||
# finally, create the task.
|
||||
task_id = session.buildImage(args[0], args[1], arch, target, ksfile,
|
||||
img_type, opts=hub_opts, priority=priority)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue