[Extras-cauldron-commits] r156 - trunk/buildme/tools

ed_ at garage.maemo.org ed_ at garage.maemo.org
Thu Oct 15 20:42:28 EEST 2009


Author: ed_
Date: 2009-10-15 20:42:27 +0300 (Thu, 15 Oct 2009)
New Revision: 156

Modified:
   trunk/buildme/tools/buildme
Log:
debugging

Modified: trunk/buildme/tools/buildme
===================================================================
--- trunk/buildme/tools/buildme	2009-09-23 20:06:51 UTC (rev 155)
+++ trunk/buildme/tools/buildme	2009-10-15 17:42:27 UTC (rev 156)
@@ -493,7 +493,8 @@
                 suffix = 'OK'
         if os.path.exists(fname):
             if os.stat(fname).st_size:
-                buildlog = os.path.join(logsdir, '.'.join((env.params['arch'], logname, suffix, 'txt')))
+                buildlog = os.path.join(logsdir, '.'.join((env.params['change'].name.split('_')[0],
+                    env.params['arch'], logname, suffix, 'txt')))
                 shutil.move(fname, buildlog)
             else:
                 os.unlink(fname)
@@ -513,6 +514,8 @@
     resultdir = env.params['infras']['results']
     sourcedir = env.params['infras']['sources']
 
+    print ">>rcode:", env.params['rcode']
+
     # exit if build failed
     if env.params['rcode']:
         # remove results dir if empty
@@ -550,7 +553,7 @@
             if category.startswith('user/') and category.split('user/')[1] not in allowed_categories:
                 logger.summary("WARNING: package '%s' has non-standard category: '%s'" % \
                     (os.path.basename(fname), pkg.control['section']))
-    
+ 
     return FSM.OK
 
 def remove_sources(env):



More information about the Extras-cauldron-commits mailing list