[yocto] [yocto-autobuilder][PATCH 0/2] Allow OPTIMIZED_GIT_CLONE to be False

Beth 'pidge' Flanagan pidge at toganlabs.com
Mon Jul 25 06:37:31 PDT 2016


On Sat, 2016-07-23 at 08:11 -0700, Bill Randle wrote:
> The autobuilder code assumes OPTIMIZED_GIT_CLONE is always set True,
> because things break if it is set to False. I had a case where it
> needed to be set False because the git trash folder was on a
> different
> file system than the build directory. This caused the CheckOutLayers
> build
> step to fail.

Part of me is tempted to just say "Don't Do That!" The plan was to
eventually just use the optimized git clone, but if people are actually
doing the above, then yes, this is needed.

Let me review and then I'll push.

-b

> 
> In addition, I still wanted to use the git mirror even with
> OPTIMIZED_GIT_CLONE
> set False, so allow that case, too.
> 
> [YOCTO #10010]
> 
> Bill Randle (2):
>   BuildSet.py: allow using local git mirror even if
> OPTIMIZED_GIT_CLONE is False
>   yoctogit.py: ensure mirrordir is set before trying to use it
> 
>  lib/python2.7/site-packages/autobuilder/BuildSet.py                | 
> 2 ++
>  .../buildbot-0.8.8-py2.7.egg/buildbot/steps/source/yoctogit.py     | 
> 7 +++++--
>  2 files changed, 7 insertions(+), 2 deletions(-)
> 



More information about the yocto mailing list