diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-11 23:01:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-11 14:10:46 +0000 |
commit | 90a862ce422e2b823c7fec7b8d4c78e7fb4422a3 (patch) | |
tree | 023cb2467e336a2c4e9b459cc1f877e895854661 /meta/classes/package.bbclass | |
parent | 3ef7b65897587a1c56c1504335c77a24a83ba7ac (diff) | |
download | poky-90a862ce422e2b823c7fec7b8d4c78e7fb4422a3.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 master rev: 3d5a6d0a480a0fa98260a3b3ffc71b8d9e3e58af)
(From OE-Core rev: 5e3ec61bacd393d461498d9e090306cc7bd8fa63)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 551cafc51a..202b4ed1c9 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -451,7 +451,7 @@ python perform_packagecopy () { | |||
451 | # Start by package population by taking a copy of the installed | 451 | # Start by package population by taking a copy of the installed |
452 | # files to operate on | 452 | # files to operate on |
453 | # Preserve sparse files and hard links | 453 | # Preserve sparse files and hard links |
454 | cmd = 'tar -cf - -C %s -ps . | tar -xf - -C %s' % (dest, dvar) | 454 | cmd = 'tar -cf - -C %s -p . | tar -xf - -C %s' % (dest, dvar) |
455 | retval = subprocess.call(cmd, shell=True) | 455 | retval = subprocess.call(cmd, shell=True) |
456 | if retval: | 456 | if retval: |
457 | bb.fatal("file copy failed with exit code %s (cmd was %s)" % (retval, cmd)) | 457 | bb.fatal("file copy failed with exit code %s (cmd was %s)" % (retval, cmd)) |