[yocto] [AUTOBUILDER][PATCH 3/4] yoctogit.py: movecopy needs an incremental callback

Elizabeth Flanagan elizabeth.flanagan at intel.com
Mon Mar 10 15:54:01 PDT 2014


We need to do an incremental before we copy or else, we're
essentially copying nothing.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan at intel.com>
---
 .../buildbot-0.8.8-py2.7.egg/buildbot/steps/source/yoctogit.py           | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/steps/source/yoctogit.py b/lib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/steps/source/yoctogit.py
index 25e5308..080f5b2 100644
--- a/lib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/steps/source/yoctogit.py
+++ b/lib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/steps/source/yoctogit.py
@@ -322,6 +322,7 @@ class YoctoGit(Source):
         else:
             todir = "build/" + self.layername
             self.workdir = 'source/'+self.repourl
+        d.addCallback(lambda _: self.incremental())
 
         def copy(_):
             cmd = buildstep.RemoteCommand('cpdir',
-- 
1.8.1.2




More information about the yocto mailing list