1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-11 21:29:25 +01:00

Merge pull request #1638 from Thaodan/build_notimestamp

Add --no-timestamps parameter to build
This commit is contained in:
Daniel Mach 2024-10-11 09:56:34 +02:00 committed by GitHub
commit 430ffcfc90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -880,6 +880,8 @@ def main(apiurl, store, opts, argv):
pac = pac + ":" + opts.multibuild_package
if opts.verbose_mode:
buildargs.append('--verbose=%s' % opts.verbose_mode)
if opts.no_timestamps:
buildargs.append('--no-timestamps')
if opts.wipe:
buildargs.append("--wipe")

View File

@ -7313,6 +7313,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
help='Do not use preinstall images for creating the build root.')
@cmdln.option("--just-print-buildroot", action="store_true",
help="Print build root path and exit.")
@cmdln.option('--no-timestamps', '-s', '--strip-time', action='store_true',
help='Hide the time prefix in output.')
@cmdln.alias('chroot')
@cmdln.alias('shell')
@cmdln.alias('wipe')