aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-11 23:02:27 +0100
committerAndreas Oberritter <obi@opendreambox.org>2013-11-04 14:19:08 +0100
commitf1f2f253b7a7d648120ca4bfc9ee3a01730ea2fc (patch)
tree254d75e2fffef885d109c68aa6cd9136737941f2
parentb2a32ae94776e4d48b940277574fe595840ce738 (diff)
downloadopenembedded-core-contrib-f1f2f253b7a7d648120ca4bfc9ee3a01730ea2fc.tar.gz
lib/oe/path: Fix copytree functions for tar 1.27
tar version 1.27 returns: tar: --same-order option cannot be used with -c with the commandlines we have been using. We can remove the -s option (which is --same-order) to remove the error. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 69c26e795c117aabfaf313abbfd10e70ede633d9) Conflicts: meta/lib/oe/path.py
-rw-r--r--meta/lib/oe/path.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/path.py b/meta/lib/oe/path.py
index 1fdfa8724f..92a591035f 100644
--- a/meta/lib/oe/path.py
+++ b/meta/lib/oe/path.py
@@ -82,7 +82,7 @@ def copytree(src, dst):
# This way we also preserve hardlinks between files in the tree.
bb.utils.mkdirhier(dst)
- cmd = 'tar -cf - -C %s -ps . | tar -xf - -C %s' % (src, dst)
+ cmd = 'tar -cf - -C %s -p . | tar -xf - -C %s' % (src, dst)
check_output(cmd, shell=True, stderr=subprocess.STDOUT)