mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-28 10:46:15 +01:00
complete --shell-cmd support parts to get it working
This commit is contained in:
parent
1d056c01ea
commit
12e0b67117
@ -725,6 +725,10 @@ def main(apiurl, opts, argv):
|
|||||||
if opts.shell:
|
if opts.shell:
|
||||||
buildargs.append("--shell")
|
buildargs.append("--shell")
|
||||||
|
|
||||||
|
if opts.shell_cmd:
|
||||||
|
buildargs.append("--shell-cmd")
|
||||||
|
buildargs.append(opts.shell_cmd)
|
||||||
|
|
||||||
if opts.noinit:
|
if opts.noinit:
|
||||||
buildargs.append('--noinit')
|
buildargs.append('--noinit')
|
||||||
|
|
||||||
|
@ -6406,10 +6406,14 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
|
|
||||||
osc shell [OPTS] REPOSITORY ARCH
|
osc shell [OPTS] REPOSITORY ARCH
|
||||||
|
|
||||||
|
Run a single command inside of the build environment:
|
||||||
|
osc shell --shell-cmd=COMMAND [OPTS] REPOSITORY ARCH
|
||||||
|
|
||||||
OPTS may be
|
OPTS may be
|
||||||
|
|
||||||
--noinit # for faster run
|
--noinit # for faster run
|
||||||
--shell-cmd=COMMAND
|
--shell-cmd=COMMAND
|
||||||
|
--extra-pkgs=PACKAGE # install additional packages
|
||||||
|
|
||||||
To clean up the build environment run
|
To clean up the build environment run
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user