devtool: sdk-update fails on remote hosts
PATCH 1/1 devtool: sdk-update fails on remote hosts
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 <[email protected]>
--- meta/lib/oe/copy_buildsystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oe/copy_buildsystem.py +1 -1
@@ -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)
Signature · 1 line
2.8.0
Sorry, this belongs in OE-core. Resent to the right mailing list.
Cheers,
Stephano
Quoted 26 lines · Stephano Cetola
This fixes bug #9426:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9426Skip .git folders when copying the build system.
Signed-off-by Stephano Cetola <[email protected]>--- meta/lib/oe/copy_buildsystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/lib/oe/copy_buildsystem.py +1
-1@@ -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)Signature · 1 line
2.8.0