Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/adrianschroeter/osc
Browse files Browse the repository at this point in the history
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 #412).
  • Loading branch information
marcus-h committed May 3, 2018
2 parents 88274c9 + 0c3edd3 commit d6a04e5
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 d6a04e5

Please sign in to comment.