Mailinglist Archive: opensuse-buildservice (142 mails)

< Previous Next >
Re: [opensuse-buildservice] Giving abuild user a 2nd group?
On Tue, Aug 06, 2013 at 08:14:11AM +0200, Bernhard Voelker wrote:
On 08/05/2013 04:37 PM, Bernhard Voelker wrote:
On 08/05/2013 03:48 PM, Philipp Thomas wrote:
Why? We have the testsuite package that nearly nobody will want to install,
so why shoudn't we have a package which a test user?


What I wanted is
groupadd abuild2
usermod -a -G abuild2 abuild
right before "make check-very-expensive" in the %check section.

Hmm, with both above sentences close to each other, I have the following
idea: can I add the user to such a second group in the e.g. %post section
of coreutils-testsuite, and then BuildReq:coreutils-testsuite to have that
test environment in the following run?
(Sounds like a little cycle, but maybe ...?)

You can probably do it a bit different.

coreutils-testsuite.spec, create a user in %post

and then run the testsuite in %check as %check is run after the package is
installed into the system.

This would avoid loops.

Ciao, Marcus
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >