All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] devtool: sdk-update fails on remote hosts
@ 2016-04-12 22:08 Stephano Cetola
  2016-04-13  9:31 ` Burton, Ross
  0 siblings, 1 reply; 2+ messages in thread
From: Stephano Cetola @ 2016-04-12 22:08 UTC (permalink / raw)
  To: openembedded-core

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@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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] devtool: sdk-update fails on remote hosts
  2016-04-12 22:08 [PATCH] devtool: sdk-update fails on remote hosts Stephano Cetola
@ 2016-04-13  9:31 ` Burton, Ross
  0 siblings, 0 replies; 2+ messages in thread
From: Burton, Ross @ 2016-04-13  9:31 UTC (permalink / raw)
  To: Stephano Cetola; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

Hi Stephano,

On 12 April 2016 at 23:08, Stephano Cetola <stephano.cetola@linux.intel.com>
wrote:

> This fixes bug #9426:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=9426
>
> Skip .git folders when copying the build system.
>

The shortlog mentions remote hosts but I don't see how that is relevant.
Also, reference bugzilla entries like [ YOCTO #9426 ] instead.

So something like this:

"""
devtool: don't copy .git when building the eSDK

When creating an eSDK ensure that any .git directories are not included.

[ YOCTO #9426 ]

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
"""

Can you revise the commit message and resend?

Cheers,
Ross

[-- Attachment #2: Type: text/html, Size: 1961 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-13  9:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-12 22:08 [PATCH] devtool: sdk-update fails on remote hosts Stephano Cetola
2016-04-13  9:31 ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.