mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-22 21:16:16 +01:00
- support --target argument for "osc build"
This commit is contained in:
parent
ef5b892285
commit
143af44479
@ -414,6 +414,8 @@ def main(apiurl, opts, argv):
|
||||
buildargs.append('--changelog')
|
||||
if opts.root:
|
||||
build_root = opts.root
|
||||
if opts.target:
|
||||
buildargs.append('--target=%s' % opts.target)
|
||||
if opts.jobs:
|
||||
buildargs.append('--jobs=%s' % opts.jobs)
|
||||
elif config['build-jobs'] > 1:
|
||||
|
@ -5245,6 +5245,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
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('--target', metavar='TARGET',
|
||||
help='define target plattform')
|
||||
@cmdln.option('--alternative-project', metavar='PROJECT',
|
||||
help='specify the build target project')
|
||||
@cmdln.option('-d', '--debuginfo', action='store_true',
|
||||
|
Loading…
Reference in New Issue
Block a user