[OE-core] [PATCH 2/2] oe.path: preserve xattr in copytree() and copyhardlinktree()

Richard Purdie richard.purdie at linuxfoundation.org
Tue Sep 6 15:26:05 UTC 2016

On Tue, 2016-09-06 at 17:22 +0200, Nicolas Dechesne wrote:
> What happens is that I am installing coreutils in my images, and i
> have a copy of 'cp' in my sysroot *and* I don't have xattrs in
> DISTRO_FEATURES. As a consequence the 'cp' command which is invoked
> does not have xattrs support, while my host 'cp' command has it...
> e.g.
> ~/work/oe-rpb-master/build-rpb$
> tmp-rpb-glibc/sysroots/x86_64-linux/usr/bin/cp -afl --preserve=xattr
> foo bar
> tmp-rpb-glibc/sysroots/x86_64-linux/usr/bin/cp: cannot preserve
> extended attributes, cp is built without xattr support
> while this one works fine:
> ~/work/oe-rpb-master/build-rpb$ cp -afl --preserve=xattr foo bar
> Should we revert these patches or am I missing anything?

Did you have:




More information about the Openembedded-core mailing list