1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 17:26:15 +02:00

allow to override vm type on command line

This commit is contained in:
Ludwig Nussel 2010-04-29 14:27:29 +02:00
parent ae5d7795b4
commit af467cea2d
2 changed files with 4 additions and 1 deletions

View File

@ -392,7 +392,8 @@ def main(opts, argv):
# FIXME: quoting
# if opts.define:
# buildargs.append('--define "%s"' % opts.define)
if opts.vm_type:
vm_type = opts.vm_type
if opts.alternative_project:
prj = opts.alternative_project
pac = '_repository'

View File

@ -3407,6 +3407,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
help='build a package which does not exist on the server')
@cmdln.option('--linksources', action='store_true',
help='use hard links instead of a deep copied source')
@cmdln.option('--vm-type', metavar='TYPE',
help='use VM type TYPE (e.g. kvm)')
@cmdln.option('--alternative-project', metavar='PROJECT',
help='specify the build target project')
@cmdln.option('-d', '--debuginfo', action='store_true',