]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oe.path: fix copyhardlinktree()
authorJoshua Lock <joshuagloe@gmail.com>
Mon, 5 Sep 2016 13:35:09 +0000 (14:35 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Sep 2016 09:23:59 +0000 (10:23 +0100)
commit2b9fdd8448c2c29418d1c3fca9fe1789466f09b4
treecc01da0ab831612d22ae41559fe6502b176da58f
parent6215ffec6a3d5069cc74ae9853167c3c6395b1db
oe.path: fix copyhardlinktree()

The change to preserve extended attributes in copytree() and
copyhardlinktree() (e591d69103a40ec4f76d1132a6039d9cb1555103)
resulted in an incorrect cp invocation in copyhardlinktree() when
the source directory contained hidden files.

This was because the passed src was modified in place but some code
paths expected it to remain unmodified from the passed value.
Resolve the issue by constructing a new source string, rather than
modifying the passed in string.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/path.py