Skip to content

Commit 0c3edd3

Browse files
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?
1 parent bfcfddb commit 0c3edd3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
0.163
22
- add sendsysrq command (requires OBS 2.10)
33
- add addcontainers command (requires OBS 2.10)
4+
- enable statistics for local builds
45
- add new options to diff command:
56
--unexpand for local diffs only (bsc#1089025)
67
--meta for diffing meta files

osc/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,7 @@ def main(apiurl, opts, argv):
542542
raise oscerr.WrongArgs('Error: build description file named \'%s\' does not exist.' % build_descr)
543543

544544
buildargs = []
545+
buildargs.append('--statistics')
545546
if not opts.userootforbuild:
546547
buildargs.append('--norootforbuild')
547548
if opts.clean:

0 commit comments

Comments
 (0)