mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
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:
committed by
Armin Kuster
parent
9a0ee11cfb
commit
bdff28d9a7
@@ -19,10 +19,10 @@ EXTRA_OECONF = "--without-x \
|
||||
|
||||
do_configure() {
|
||||
export topdir=${S}
|
||||
cp -a ${S}/autoconf/configure.in ${S}
|
||||
cp -R --no-dereference --preserve=mode,links -v ${S}/autoconf/configure.in ${S}
|
||||
|
||||
if ! [ -d ${S}/platforms/${DISTRO} ] ; then
|
||||
cp -a ${S}/platforms/unknown ${S}/platforms/${DISTRO}
|
||||
cp -R --no-dereference --preserve=mode,links -v ${S}/platforms/unknown ${S}/platforms/${DISTRO}
|
||||
fi
|
||||
|
||||
gnu-configize --force
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user