make the arches to build for a config option

This commit is contained in:
Dennis Gilmore 2009-01-12 22:53:26 -06:00
parent dd77a2cf9e
commit 2a2ca86f16

View file

@ -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