[yocto] [AB PATCH 05/22] yoctogit.py: movecopy needs an incremental callback

Burton, Ross ross.burton at intel.com
Thu Mar 20 07:25:51 PDT 2014


On 19 March 2014 20:51, Elizabeth Flanagan <elizabeth.flanagan at intel.com> wrote:
> 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

This is fixing a bug in 2/22 so should be squashed into that commit.

Ross



More information about the yocto mailing list