X-Git-Url: https://git.tld-linux.org/?p=tld-builder.git;a=blobdiff_plain;f=TLD_Builder%2Fbuild.py;fp=PLD_Builder%2Fbuild.py;h=31689e74dad8bc7af77731b4f0cb0153ba9e5c5b;hp=e996731bcc5159e30d91be8f1489259513d5da88;hb=b999f53d4bf5d44586ecf028876e8bc20b5fd2ce;hpb=37463eaa22f48f5fecbb90e69ef67a69e0bf9788 diff --git a/PLD_Builder/build.py b/TLD_Builder/build.py similarity index 96% rename from PLD_Builder/build.py rename to TLD_Builder/build.py index e996731..31689e7 100644 --- a/PLD_Builder/build.py +++ b/TLD_Builder/build.py @@ -46,7 +46,7 @@ def run_command(batch): else: user = "root" if "as-builder" in batch.command_flags: - user = "builder" + user = None return chroot.run(command, logfile = batch.logfile, user = user) def build_all(r, build_fnc): @@ -82,7 +82,7 @@ def build_all(r, build_fnc): log.notice("running %s OK" % batch.command) notify.add_batch(batch, "OK") batch.build_time = stopwatch.stop() - report.add_pld_builder_info(batch) + report.add_tld_builder_info(batch) buildlogs.add(batch.logfile, failed = batch.build_failed, id=r.id) else: log.notice("not running command, not for me.") @@ -106,7 +106,7 @@ def build_all(r, build_fnc): log.notice("building %s OK" % (batch.spec)) notify.add_batch(batch, "OK") batch.build_time = stopwatch.stop() - report.add_pld_builder_info(batch) + report.add_tld_builder_info(batch) buildlogs.add(batch.logfile, failed = batch.build_failed, id=r.id) else: batch.build_failed = 1