[Buildbot-devel] How to compile code as root user

rajasekhar naidu raja_435 at hotmail.com
Fri Jun 18 10:04:19 UTC 2010


Hi all,

       I am using buildbot for scheduling build at particular time. For my code to compile, one should run make as root user. I installed buildbot in root user account. When i try to build i am getting error which is caused because build is not triggered with root privileges. Please help me how to start build with root permissions.

 

         f2 = factory.BuildFactory()
         f2.addStep(CVS(cvsroot=cvsroot, cvsmodule=cvsmodule,  mode="clobber", branch="Branch_Name"))
         f2.addStep(Compile(command=["make"], workdir="build/build"))


 

Thank you

Rajasekhar
 		 	   		  
_________________________________________________________________
The world on four wheels in MSN Autos
http://autos.in.msn.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20100618/9ae94a40/attachment.html>


More information about the devel mailing list