A slave buildmachine does not have to run on the same machine as the master.
Normally you should be able to use multiple slave buildmachines on one
computer if they have a unique ID, but this hasn't been tested yet.
You have to install at least the package pydar2-slave.
* First you have to add a login to the master for your buildmachine: add a
section with type=BUILDMACHINEID to the accounts.conf of the master. For
I would like to suggest to use another password :) Currently you
always need those rights for a slave buildmachine. Make sure the file stays
only readable by root and pydar2master.
* You also need to configure the file /etc/pydar2/slave.conf for your
buildmachine. If you want to use multiple buildmachines on one
computer, then you will have to create multiple slave.conf files and
use the -s option of pydar-buildserver-slave.py. An example config file:
The buildmachineid must be the same as the name of the section in
accounts.conf. The password should also be the same. The section
distroarchs contains a list of distribution/architecture combinations
for which you want to build rpm files on this machine. Make sure you
use one from the table pydar2_distroarch in the database.
The url must point to the xmlrpc endpoint of the master buildserver.
You configured that in the file /etc/pydar2/
* Now you will have to configure the yum configuration of each of
these distroarchs. There are example yum configurations in /etc/pydar2/yum/.
You can override the yum configuration for a certain slave buildmachine
by placing a file in /etc/pydar2/yum/[buildmachineid]/, for example:
It's probably best if you setup a local mirror first with yam. This way you
can avoid quite some build problems.