recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode,links"

* Using "cp -a" leaks UID of user running the builds, causing
  many QA warnings.
* See this thread for details:
  http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112904.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa
2016-02-25 17:37:00 +01:00
parent 7396fc6206
commit df7242fddb
15 changed files with 20 additions and 20 deletions

View File

@@ -55,7 +55,7 @@ do_install () {
}
do_install_ptest () {
cp -a ${WORKDIR}/lua-${PV}-tests ${D}${PTEST_PATH}/test
cp -R --no-dereference --preserve=mode,links -v ${WORKDIR}/lua-${PV}-tests ${D}${PTEST_PATH}/test
}
BBCLASSEXTEND = "native"