summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2006-08-17 14:48:27 +0000
committerHolger Freyther <zecke@selfish.org>2006-08-17 14:48:27 +0000
commit87f266da9cda903b845ab18941d41d6ecb98b28c (patch)
tree35f021928c87e52385bbea2bacc96d27ccf5dbb4 /classes
parentbe18b92133b1326202241c23613baaa34ccd2c7a (diff)
classes/tinderclient.bbclass: TINDER_AUTOBUILD=0 to disable running do_clean
Diffstat (limited to 'classes')
-rw-r--r--classes/tinderclient.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/tinderclient.bbclass b/classes/tinderclient.bbclass
index 0cfa9c7ea0..2f4d62b789 100644
--- a/classes/tinderclient.bbclass
+++ b/classes/tinderclient.bbclass
@@ -315,7 +315,8 @@ def tinder_do_tinder_report(event):
elif name == "PkgSucceeded":
log += "<--- TINDERBOX Package %s done (SUCCESS)\n" % data.getVar('P', event.data, True)
elif name == "PkgFailed":
- build.exec_task('do_clean', event.data)
+ if not data.getVar('TINDER_AUTOBUILD') == 0:
+ build.exec_task('do_clean', event.data)
log += "<--- TINDERBOX Package %s failed (FAILURE)\n" % data.getVar('P', event.data, True)
status = 200
# remember the failure for the -k case