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

Dropped Lua patch as no ptest support exists in jethro

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>

Conflicts:
	meta-oe/recipes-devtools/lua/lua_5.3.1.bb
This commit is contained in:
Martin Jansa
2016-02-25 17:37:00 +01:00
committed by Armin Kuster
parent 9a0ee11cfb
commit bdff28d9a7
14 changed files with 19 additions and 19 deletions
@@ -23,7 +23,7 @@ do_configure_prepend() {
}
do_install_append() {
install -d ${D}${datadir}/orrery
cp -a ${S}/data/* ${D}${datadir}/orrery
cp -R --no-dereference --preserve=mode,links -v ${S}/data/* ${D}${datadir}/orrery
chown -R root:root ${D}${datadir}/orrery
install -d ${D}${datadir}/icons
install -m 0755 ${WORKDIR}/orrery.png ${D}${datadir}/icons