[oe-commits] org.oe.angstrom-2007.12-stable seppuku bbclass: backport format change

koen commit oe at amethyst.openembedded.net
Mon Mar 17 09:03:52 UTC 2008


seppuku bbclass: backport format change

Author: koen at openembedded.org
Branch: org.openembedded.angstrom-2007.12-stable
Revision: 1494d3b97314813a18c958bcba05d7055d949241
ViewMTN: http://monotone.openembedded.org/revision/info/1494d3b97314813a18c958bcba05d7055d949241
Files:
1
BACKPORTS.txt
classes/seppuku.bbclass
Diffs:

#
# mt diff -r5c6fd70f789ef4b447872922d8ed4cab8871203f -r1494d3b97314813a18c958bcba05d7055d949241
#
#
#
# patch "BACKPORTS.txt"
#  from [da9ebf076213459e551975ecc2e5f55a9d72236f]
#    to [e3337598f2ecc8c59fce90b06caacd11cf7dbd2e]
# 
# patch "classes/seppuku.bbclass"
#  from [aa7c1e4b25e78a6657bbd1981530497920099520]
#    to [cf5cdec1dbfae0f2d217237b1a1d6a324976a740]
#
============================================================
--- BACKPORTS.txt	da9ebf076213459e551975ecc2e5f55a9d72236f
+++ BACKPORTS.txt	e3337598f2ecc8c59fce90b06caacd11cf7dbd2e
@@ -198,4 +198,6 @@
 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)
 
+
============================================================
--- classes/seppuku.bbclass	aa7c1e4b25e78a6657bbd1981530497920099520
+++ classes/seppuku.bbclass	cf5cdec1dbfae0f2d217237b1a1d6a324976a740
@@ -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')






More information about the Openembedded-commits mailing list