mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 09:32:11 +02:00
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>
This commit is contained in:
@@ -458,7 +458,7 @@ python perform_packagecopy () {
|
||||
# Start by package population by taking a copy of the installed
|
||||
# files to operate on
|
||||
# Preserve sparse files and hard links
|
||||
cmd = 'tar -cf - -C %s -ps . | tar -xf - -C %s' % (dest, dvar)
|
||||
cmd = 'tar -cf - -C %s -p . | tar -xf - -C %s' % (dest, dvar)
|
||||
(retval, output) = oe.utils.getstatusoutput(cmd)
|
||||
if retval:
|
||||
bb.fatal("file copy failed with exit code %s (cmd was %s)%s" % (retval, cmd, ":\n%s" % output if output else ""))
|
||||
|
||||
Reference in New Issue
Block a user