make the arches to build for a config option
This commit is contained in:
parent
dd77a2cf9e
commit
2a2ca86f16
1 changed files with 2 additions and 1 deletions
|
|
@ -179,6 +179,7 @@ def get_options():
|
|||
['serverca', None, 'string'],
|
||||
['auth_cert', None, 'string'],
|
||||
['auth_ca', None, 'string'],
|
||||
['arches', None, 'string'],
|
||||
]
|
||||
|
||||
|
||||
|
|
@ -869,7 +870,7 @@ class BuildTracker(object):
|
|||
if data['name'] == 'admin':
|
||||
perm_id = data['id']
|
||||
break
|
||||
session.createTag(our_tag, perm=perm_id, arches='i386 ppc ppc64 x86_64')
|
||||
session.createTag(our_tag, perm=perm_id, arches=options.arches)
|
||||
taginfo = session.getTag(our_tag, strict=True)
|
||||
#we don't need a target, we trigger our own repo creation and
|
||||
#pass that repo_id to the build call
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue