]> code.ossystems Code Review - openembedded-core.git/commit
devtool: use cp instead of shutil.copytree
authorEd Bartosh <ed.bartosh@linux.intel.com>
Fri, 18 Dec 2015 11:46:31 +0000 (13:46 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 28 Dec 2015 09:24:54 +0000 (09:24 +0000)
commite5b841420b9fdd33829f7665a62cd06a3017f7e6
tree5ced32abc9d826aaf58f5150dfb02036d9cf09b3
parent161bb3409edee21827cf594cc011fe88185f1496
devtool: use cp instead of shutil.copytree

Copied layers with 'cp -a' instead of calling shutil.copytree as
copytree fails to copy broken symlinks.

More pythonic fix would be to use copytree with 'ignore' parameter,
but this could slow down copying complex directory structures.

[YOCTO #8825]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/devtool/sdk.py