Mailinglist Archive: opensuse-buildservice (79 mails)

< Previous Next >
Re: [opensuse-buildservice] osc build ignores --no-service
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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
References