[oe] [meta-oe][PATCH] devtool: sdk-update fails on remote hosts

Stephano Cetola stephano.cetola at linux.intel.com
Tue Apr 12 22:10:11 UTC 2016


Sorry, this belongs in OE-core. Resent to the right mailing list.

Cheers,
Stephano

On 04/12, Stephano Cetola wrote:
> This fixes bug #9426:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=9426
> 
> Skip .git folders when copying the build system.
> 
> Signed-off-by: Stephano Cetola <stephano.cetola at linux.intel.com>
> ---
>  meta/lib/oe/copy_buildsystem.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/lib/oe/copy_buildsystem.py b/meta/lib/oe/copy_buildsystem.py
> index dd0e664..7b9a0ee 100644
> --- a/meta/lib/oe/copy_buildsystem.py
> +++ b/meta/lib/oe/copy_buildsystem.py
> @@ -8,7 +8,7 @@ def _smart_copy(src, dest):
>      # source is a file or a directory.
>      mode = os.stat(src).st_mode
>      if stat.S_ISDIR(mode):
> -        shutil.copytree(src, dest, symlinks=True)
> +        shutil.copytree(src, dest, symlinks=True, ignore=shutil.ignore_patterns('.git'))
>      else:
>          shutil.copyfile(src, dest)
>          shutil.copymode(src, dest)
> -- 
> 2.8.0
> 



More information about the Openembedded-devel mailing list