[opensuse-buildservice] osc build ignores --no-service
What is 'osc build --no-service' supposed to do? If a _service file exists it will be processed. I did "osc getbinaries --sources repo arch; unrpm binaries/*.src.rpm;osc build --no-service [args]", which installed various obs-service-* rpms just because _service happens to be configured for obs_scm. Only renaming _service helped. Setting "mode=disabled" does not help either. Olaf
On 2018-02-26 21:05:39 +0100, Olaf Hering wrote:
What is 'osc build --no-service' supposed to do? If a _service file exists it will be processed.
It skips the "local" service runs. However, this does _not_ imply that it skips service runs in the chroot/vm. Currently, all services with mode="buildtime" are executed in the chroot/vm (regardless if --no-service was specified). The question is how a reasonable semantics for --no-service looks like...
I did "osc getbinaries --sources repo arch; unrpm binaries/*.src.rpm;osc build --no-service [args]", which installed various obs-service-* rpms just because _service happens to be configured for obs_scm. Only renaming _service helped. Setting "mode=disabled" does not help either.
Setting mode="disabled" should work. How does your _service file look like? Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Montag, 26. Februar 2018, 21:05:39 CET wrote Olaf Hering:
What is 'osc build --no-service' supposed to do? If a _service file exists it will be processed.
I did "osc getbinaries --sources repo arch; unrpm binaries/*.src.rpm;osc build --no-service [args]", which installed various obs-service-* rpms just because _service happens to be configured for obs_scm. Only renaming _service helped.
well, it would still install it, just the execution of the local configured sources is blocked.
Setting "mode=disabled" does not help either.
regarding deps or execution? They should not get executed anymore ... -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
Marcus Hüwe
-
Olaf Hering