self.control_url = get("control_url")
self.builder_user = get("builder_user", "builder")
self.sudo_chroot_wrapper = get("sudo_chroot_wrapper", "")
+ self.nice = get("nice", "0")
f = get("syslog", "")
if f != "":
else:
chroot.run("install -m 700 -d %s" % tmpdir)
rpmbuild_opt = "%s --target %s-pld-linux" % (b.bconds_string(), config.arch)
- cmd = "cd rpm/SPECS; TMPDIR=%s rpmbuild -bb %s %s" % \
- (tmpdir, rpmbuild_opt, b.spec)
+ cmd = "cd rpm/SPECS; TMPDIR=%s nice -n %s rpmbuild -bb %s %s" % \
+ (tmpdir, config.nice, rpmbuild_opt, b.spec)
if ("no-install-br" not in r.flags) and install_br.install_br(r, b):
res = 1
else:
job_slots = 1
# maximal load, at which rpm processing can start
max_load = 10.0
+# nice control
+#nice = 5
# where to look for queue.gz and counter
control_url = http://roke.freak/builder/
# email where to send status notifications