Mailinglist Archive: opensuse-buildservice (166 mails)

< Previous Next >
Re: [opensuse-buildservice] run commands from spec file as root
On Dienstag, 13. Mai 2014, 23:45:12 wrote Ruediger Meier:
Hi,

is it possible to run a command from %build section as root?
I thought it's possoble somehow but can't find it.

Not by default.

You could add

# userootforbuild

in the spec file and we would need to add an exception on the server
side for this package.

Better you find another way :)

--

Adrian Schroeter
email: adrian@xxxxxxx

SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284
(AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany



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

< Previous Next >
References