mirror of
https://git.yoctoproject.org/poky
synced 2026-07-26 19:17:07 +00: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 master rev: 3d5a6d0a480a0fa98260a3b3ffc71b8d9e3e58af) (From OE-Core rev: 5e3ec61bacd393d461498d9e090306cc7bd8fa63) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -451,7 +451,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 = subprocess.call(cmd, shell=True)
|
||||
if retval:
|
||||
bb.fatal("file copy failed with exit code %s (cmd was %s)" % (retval, cmd))
|
||||
|
||||
Reference in New Issue
Block a user