[opensuse-buildservice] Prefer vs Support vs Keep vs Substitute
What is the difference between Support and Keep? Like, let's say I have a package FOO that I'd like to always be installed in the build environment, *if* it is available. If it is not available, block all other builds until it *is* available, but do not block FOO itself. How do I do that? Is there a way to configure a project with more than one repository with different configurations (such as, when using repo A, substitute foo for bar)? -- Jon -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Donnerstag, 27. Mai 2010 22:36:08 Jon Nelson wrote:
What is the difference between Support and Keep?
Like, let's say I have a package FOO that I'd like to always be installed in the build environment, *if* it is available. If it is not available, block all other builds until it *is* available, but do not block FOO itself. How do I do that?
Just add it as "Support". "Keep" is for keeping the package X itself in the build root, even when package X itself is building.
Is there a way to configure a project with more than one repository with different configurations (such as, when using repo A, substitute foo for bar)?
You can use %if "%_repository" == "images" Support: .... %endif for example. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, May 27, 2010 at 3:36 PM, Jon Nelson <jnelson-suse@jamponi.net> wrote:
What is the difference between Support and Keep?
Like, let's say I have a package FOO that I'd like to always be installed in the build environment, *if* it is available. If it is not available, block all other builds until it *is* available, but do not block FOO itself. How do I do that?
I just tried this and nothing builds. I have Support: FOO BAR in the prjconf, and neither FOO nor BAR will build because the OBS claims they buildrequires FOO, BAR. -- Jon -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Montag, 21. März 2011, 12:26:43 schrieb Jon Nelson:
On Thu, May 27, 2010 at 3:36 PM, Jon Nelson <jnelson-suse@jamponi.net> wrote:
What is the difference between Support and Keep?
Like, let's say I have a package FOO that I'd like to always be installed in the build environment, *if* it is available. If it is not
we don't have such a support. It conflicts with our goal of reproducable builds. You can of course switch the use of such a package (set) on and of via some macro in prjconf, but that would not differ to adding and removing the Support lines.
available, block all other builds until it *is* available, but do not block FOO itself. How do I do that?
I just tried this and nothing builds. I have
Support: FOO BAR
in the prjconf, and neither FOO nor BAR will build because the OBS claims they buildrequires FOO, BAR.
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Adrian Schröter
-
Jon Nelson