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-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-networking/recipes-protocols') 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 e8df06c84a..06f3707009 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 -- cgit v1.2.3-54-g00ecf