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

always run build using --statistics. I could have made this

yet another option, but
* only very old build scripts don't know it, we should just require a recent one
* build script is ignoring it for chroot case

so why bother with another option?
This commit is contained in:
Adrian Schröter 2018-04-27 14:59:34 +02:00
parent bfcfddb0da
commit 0c3edd3fa0
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: