[yocto] [AB PATCH 17/22] yoctogit.py: change _srccopy fromdir to it's own construction
Elizabeth Flanagan
elizabeth.flanagan at intel.com
Wed Mar 19 13:51:15 PDT 2014
From: Beth Flanagan <elizabeth.flanagan at intel.com>
fromdir was using self.srcdir, but lets be a bit safe and use
a variable we construct in the method.
Signed-off-by: Beth Flanagan <elizabeth.flanagan at intel.com>
---
.../buildbot-0.8.8-py2.7.egg/buildbot/steps/source/yoctogit.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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 6990abe..4e1a334 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
@@ -307,9 +307,10 @@ class YoctoGit(Source):
todir = "build"
else:
todir = "build/" + self.layername
+ fromdir='source/'+self.repourl
cmd = buildstep.RemoteCommand('cpdir',
- {'fromdir': self.srcdir,
+ {'fromdir': fromdir,
'todir': todir,
'logEnviron': self.logEnviron,
'timeout': self.timeout,})
--
1.8.1.2
More information about the yocto
mailing list