summaryrefslogtreecommitdiff
path: root/classes/oestats-client.bbclass
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-06-18 15:45:14 +0400
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-06-18 15:45:14 +0400
commitf1cc64d92cc4023fe8180dc0079d010eec0d71b0 (patch)
tree8edacc965b0513223c8e48a1c843555ab995a420 /classes/oestats-client.bbclass
parentec7b787de1ea8c71ac2e2e23be93500c347105b6 (diff)
linux-2.6.29: add a default kernel for tqm8540
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'classes/oestats-client.bbclass')
-rw-r--r--classes/oestats-client.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/oestats-client.bbclass b/classes/oestats-client.bbclass
index 8922496242..db7025b307 100644
--- a/classes/oestats-client.bbclass
+++ b/classes/oestats-client.bbclass
@@ -198,6 +198,9 @@ python oestats_eventhandler () {
oestats_task(server, e.data, e.task, 'Succeeded')
elif getName(e) == 'TaskFailed':
oestats_task(server, e.data, e.task, 'Failed')
+ elif getName(e) == "PkgFailed":
+ if not bb.data.getVar('AUTOBUILD', e.data, True) == "0":
+ build.exec_func('do_clean', data)
return NotHandled
}