]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oe.path: preserve xattr in copytree() and copyhardlinktree() joshuagl/sstate-xattr
authorJoshua Lock <joshua.g.lock@intel.com>
Wed, 27 Jul 2016 11:04:42 +0000 (12:04 +0100)
committerJoshua Lock <joshua.g.lock@intel.com>
Fri, 5 Aug 2016 11:39:45 +0000 (12:39 +0100)
commite28ba548e9aec56ed7783608467ea3059538c973
tree2f13a62e5498c5156447a3a2d72dc0890f8d49b4
parentc550fc1d638414dddbe9f58add7a7b9577ca1329
oe.path: preserve xattr in copytree() and copyhardlinktree()

Pass appropriate options to tar invocations in copytree() and
copyhardlinktree() to ensure that any extended attributes on the files
are preserved during the copy.

We have to drop the use cpio in "Copy-pass" mode in copyhardlinktree()
because cpio doesn't support extended attributes on files. Instead we
revert back to using cp with different patterns depending on whether
or not the directory contains dot files.

[YOCTO #9857]

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
meta/lib/oe/path.py