diff options
author | 2016-02-25 17:37:00 +0100 | |
---|---|---|
committer | 2016-04-17 13:06:14 -0700 | |
commit | bdff28d9a7863494b2a41f54de4e3fe0a7e29470 (patch) | |
tree | f35f1a117f1f7bd0efcbccc6d5910a1491597b66 /meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | |
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-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb')
-rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb index 93eb0252d2..036b5cc5ab 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb @@ -85,7 +85,7 @@ do_install_ptest() { for i in ${S}/dist ${S}/include ${B}/include ${S}/mibs ${S}/configure \ ${B}/net-snmp-config ${S}/testing; do if [ -e "$i" ]; then - cp -a "$i" ${D}${PTEST_PATH} + cp -R --no-dereference --preserve=mode,links -v "$i" ${D}${PTEST_PATH} fi done echo `autoconf -V|awk '/autoconf/{print $NF}'` > ${D}${PTEST_PATH}/dist/autoconf-version |