1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 14:56:14 +01:00
Always pass the "--statistics" option to the build script (only affects
a vm build). It is not implemented as an option, because we already have
so many of them... (see also https://github.com/openSUSE/osc/pull/412).
This commit is contained in:
Marcus Huewe 2018-05-03 11:02:57 +02:00
commit d6a04e5327
2 changed files with 2 additions and 0 deletions

1
NEWS
View File

@ -1,6 +1,7 @@
0.163
- add sendsysrq command (requires OBS 2.10)
- add addcontainers command (requires OBS 2.10)
- enable statistics for local builds
- add new options to diff command:
--unexpand for local diffs only (bsc#1089025)
--meta for diffing meta files

View File

@ -542,6 +542,7 @@ def main(apiurl, opts, argv):
raise oscerr.WrongArgs('Error: build description file named \'%s\' does not exist.' % build_descr)
buildargs = []
buildargs.append('--statistics')
if not opts.userootforbuild:
buildargs.append('--norootforbuild')
if opts.clean: