]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
Clean tmp from all old build jobs (builders have small ssd disks and old build tmp...
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 3 Jul 2018 05:15:05 +0000 (07:15 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 3 Jul 2018 05:15:05 +0000 (07:15 +0200)
PLD_Builder/rpm_builder.py

index 5a77d873513ede32106e214777253be1593618b4..1a9ea575a68d5ec141e9a4352b7381d190b87cc1 100644 (file)
@@ -199,6 +199,8 @@ def build_rpm(r, b):
     }, logfile = b.logfile)
     b.files = []
 
+    chroot.run("rm -rf /tmp/B.*", logfile = b.logfile)
+
     tmpdir = b.tmpdir()
     if res:
         b.log_line("error: installing src rpm failed")
This page took 0.242283 seconds and 4 git commands to generate.