summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-11 23:01:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-14 16:55:21 +0100
commitd3846f06d1e3faedcbc3c28e22c427bb0088683d (patch)
treec3ed2697085cc06dce01b3ddee017645155659e6 /meta/classes/package.bbclass
parentfaf8f8660fae26a14578738b642fdeb08bcb9d54 (diff)
downloadpoky-d3846f06d1e3faedcbc3c28e22c427bb0088683d.tar.gz
classes: tar 1.27 fixes
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. (From OE-Core rev: 3d5a6d0a480a0fa98260a3b3ffc71b8d9e3e58af) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index c98c6ec4eb..5b1e902c07 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -458,7 +458,7 @@ python perform_packagecopy () {
458 # Start by package population by taking a copy of the installed 458 # Start by package population by taking a copy of the installed
459 # files to operate on 459 # files to operate on
460 # Preserve sparse files and hard links 460 # Preserve sparse files and hard links
461 cmd = 'tar -cf - -C %s -ps . | tar -xf - -C %s' % (dest, dvar) 461 cmd = 'tar -cf - -C %s -p . | tar -xf - -C %s' % (dest, dvar)
462 (retval, output) = oe.utils.getstatusoutput(cmd) 462 (retval, output) = oe.utils.getstatusoutput(cmd)
463 if retval: 463 if retval:
464 bb.fatal("file copy failed with exit code %s (cmd was %s)%s" % (retval, cmd, ":\n%s" % output if output else "")) 464 bb.fatal("file copy failed with exit code %s (cmd was %s)%s" % (retval, cmd, ":\n%s" % output if output else ""))