diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2016-02-25 17:37:00 +0100 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2016-04-17 13:06:14 -0700 |
commit | bdff28d9a7863494b2a41f54de4e3fe0a7e29470 (patch) | |
tree | f35f1a117f1f7bd0efcbccc6d5910a1491597b66 /meta-oe/recipes-support | |
parent | 9a0ee11cfbfcc831902ba8c57d9aad8169c88c9e (diff) | |
download | meta-openembedded-bdff28d9a7863494b2a41f54de4e3fe0a7e29470.tar.gz |
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
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r-- | meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb | 4 | ||||
-rw-r--r-- | meta-oe/recipes-support/tbb/tbb_4.1.bb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb b/meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb index 18979d574..35c891e7a 100644 --- a/meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb +++ b/meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb | |||
@@ -19,10 +19,10 @@ EXTRA_OECONF = "--without-x \ | |||
19 | 19 | ||
20 | do_configure() { | 20 | do_configure() { |
21 | export topdir=${S} | 21 | export topdir=${S} |
22 | cp -a ${S}/autoconf/configure.in ${S} | 22 | cp -R --no-dereference --preserve=mode,links -v ${S}/autoconf/configure.in ${S} |
23 | 23 | ||
24 | if ! [ -d ${S}/platforms/${DISTRO} ] ; then | 24 | if ! [ -d ${S}/platforms/${DISTRO} ] ; then |
25 | cp -a ${S}/platforms/unknown ${S}/platforms/${DISTRO} | 25 | cp -R --no-dereference --preserve=mode,links -v ${S}/platforms/unknown ${S}/platforms/${DISTRO} |
26 | fi | 26 | fi |
27 | 27 | ||
28 | gnu-configize --force | 28 | gnu-configize --force |
diff --git a/meta-oe/recipes-support/tbb/tbb_4.1.bb b/meta-oe/recipes-support/tbb/tbb_4.1.bb index 55212dc6c..09ed6ec52 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() { | |||
26 | do_install() { | 26 | do_install() { |
27 | install -d ${D}${includedir} ${D}${libdir}/pkgconfig | 27 | install -d ${D}${includedir} ${D}${libdir}/pkgconfig |
28 | rm ${S}/include/tbb/index.html -f | 28 | rm ${S}/include/tbb/index.html -f |
29 | cp -a ${S}/include/tbb ${D}${includedir} | 29 | cp -R --no-dereference --preserve=mode,links -v ${S}/include/tbb ${D}${includedir} |
30 | install -m 0755 ${B}/build/linux_*_release/lib*.so* ${D}${libdir} | 30 | install -m 0755 ${B}/build/linux_*_release/lib*.so* ${D}${libdir} |
31 | install -m 0644 ${WORKDIR}/tbb.pc ${D}${libdir}/pkgconfig | 31 | install -m 0644 ${WORKDIR}/tbb.pc ${D}${libdir}/pkgconfig |
32 | } | 32 | } |