mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01: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:
parent
bfcfddb0da
commit
0c3edd3fa0
1
NEWS
1
NEWS
@ -1,6 +1,7 @@
|
|||||||
0.163
|
0.163
|
||||||
- add sendsysrq command (requires OBS 2.10)
|
- add sendsysrq command (requires OBS 2.10)
|
||||||
- add addcontainers command (requires OBS 2.10)
|
- add addcontainers command (requires OBS 2.10)
|
||||||
|
- enable statistics for local builds
|
||||||
- add new options to diff command:
|
- add new options to diff command:
|
||||||
--unexpand for local diffs only (bsc#1089025)
|
--unexpand for local diffs only (bsc#1089025)
|
||||||
--meta for diffing meta files
|
--meta for diffing meta files
|
||||||
|
@ -542,6 +542,7 @@ def main(apiurl, opts, argv):
|
|||||||
raise oscerr.WrongArgs('Error: build description file named \'%s\' does not exist.' % build_descr)
|
raise oscerr.WrongArgs('Error: build description file named \'%s\' does not exist.' % build_descr)
|
||||||
|
|
||||||
buildargs = []
|
buildargs = []
|
||||||
|
buildargs.append('--statistics')
|
||||||
if not opts.userootforbuild:
|
if not opts.userootforbuild:
|
||||||
buildargs.append('--norootforbuild')
|
buildargs.append('--norootforbuild')
|
||||||
if opts.clean:
|
if opts.clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user