aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-03-12 09:23:08 +0000
committerKoen Kooi <koen@openembedded.org>2008-03-12 09:23:08 +0000
commit54b211abd483ad011e3f9986864b5894ef9ec51f (patch)
tree304303c45afb21e15587a9e2719fcda5b54beb61
parente655fb95605e2f4746f0bb32bf4738345fa9d4bd (diff)
downloadopenembedded-54b211abd483ad011e3f9986864b5894ef9ec51f.tar.gz
seppuku bbclass: backport format change
-rw-r--r--BACKPORTS.txt2
-rw-r--r--classes/seppuku.bbclass7
2 files changed, 5 insertions, 4 deletions
diff --git a/BACKPORTS.txt b/BACKPORTS.txt
index 4a99e23ed5..359963d301 100644
--- a/BACKPORTS.txt
+++ b/BACKPORTS.txt
@@ -198,4 +198,6 @@ eb1c40b4c0c0e45af72840032d1f8ffdf59afecc linux-rp-2.6.24: Add tosa supprot from
c72441dc719a5903a8fdc705f309c086346249b0 alsa-state spitz + akita fixes (Stanislav, Koen)
135f1243bae7b8d2761f12a5ee4792c0fdd61cd7 findutils fix (Stanislav, Koen)
8fdaa25fd43ec0cd83b190b8b345a620111e66b9 mplayer -OMG -noatime (Koen, PaulS)
+2c1b19f138545666f84b9b29076dcc0b6e695ed6 sepukku format change (Koen, PaulS)
+
diff --git a/classes/seppuku.bbclass b/classes/seppuku.bbclass
index 834bee34b4..3f2fc1a8b6 100644
--- a/classes/seppuku.bbclass
+++ b/classes/seppuku.bbclass
@@ -329,12 +329,11 @@ python seppuku_eventhandler() {
file = None
if name == "TaskFailed":
- bugname = "%(package)s-%(pv)s-%(pr)s-%(task)s" % { "package" : bb.data.getVar("PN", data, True),
+ bugname = "%(package)s-%(pv)s-autobuild" % { "package" : bb.data.getVar("PN", data, True),
"pv" : bb.data.getVar("PV", data, True),
- "pr" : bb.data.getVar("PR", data, True),
- "task" : e.task }
+ }
log_file = glob.glob("%s/log.%s.*" % (bb.data.getVar('T', event.data, True), event.task))
- text = "The package failed to build at %s for machine %s" % (bb.data.getVar('DATETIME', data, True), bb.data.getVar( 'MACHINE', data, True ) )
+ text = "The %s step failed at %s for machine %s" % (e.task, bb.data.getVar('DATETIME', data, True), bb.data.getVar( 'MACHINE', data, True ) )
if len(log_file) != 0:
print >> debug_file, "Adding log file %s" % log_file[0]
file = open(log_file[0], 'r')