Skip to content

Commit

Permalink
always run build using --statistics. I could have made this
Browse files Browse the repository at this point in the history
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?
  • Loading branch information
adrianschroeter committed Apr 27, 2018
1 parent bfcfddb commit 0c3edd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions osc/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0c3edd3

Please sign in to comment.