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

rajasekhar naidu raja_435 at hotmail.com
Fri Jun 18 10:07:44 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

 		 	   		  
_________________________________________________________________
Bollywood, beauties and the latest flicks on MSN entertainment
http://entertainment.in.msn.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20100618/9a359a44/attachment.html>


More information about the devel mailing list