From df7242fddb9048738c0cdfaf0c3c227bf78f3da7 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 25 Feb 2016 17:37:00 +0100 Subject: 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 --- meta-oe/recipes-support/tbb/tbb_4.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-oe/recipes-support/tbb/tbb_4.1.bb') diff --git a/meta-oe/recipes-support/tbb/tbb_4.1.bb b/meta-oe/recipes-support/tbb/tbb_4.1.bb index 55212dc6ca..09ed6ec527 100644 --- a/meta-oe/recipes-support/tbb/tbb_4.1.bb +++ b/meta-oe/recipes-support/tbb/tbb_4.1.bb @@ -26,7 +26,7 @@ do_compile() { do_install() { install -d ${D}${includedir} ${D}${libdir}/pkgconfig rm ${S}/include/tbb/index.html -f - cp -a ${S}/include/tbb ${D}${includedir} + cp -R --no-dereference --preserve=mode,links -v ${S}/include/tbb ${D}${includedir} install -m 0755 ${B}/build/linux_*_release/lib*.so* ${D}${libdir} install -m 0644 ${WORKDIR}/tbb.pc ${D}${libdir}/pkgconfig } -- cgit v1.2.3-54-g00ecf