From: Ross Burton Date: Mon, 7 Sep 2015 17:31:39 +0000 (+0100) Subject: ptest: use fakeroot for do_install_ptest_base X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~29008 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56c5fa106eeccda2ca92dbeb73ff01ba40992e7d;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git ptest: use fakeroot for do_install_ptest_base The do_install_ptest_base task wasn't running in the fakeroot environment so files installed by do_install_ptest were often not owned by root:root but the user running the builds. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass index 2ac9143abec..f30f26afabb 100644 --- a/meta/classes/ptest.bbclass +++ b/meta/classes/ptest.bbclass @@ -36,7 +36,7 @@ do_install_ptest() { : } -do_install_ptest_base() { +fakeroot do_install_ptest_base() { if [ -f ${WORKDIR}/run-ptest ]; then install -D ${WORKDIR}/run-ptest ${D}${PTEST_PATH}/run-ptest if grep -q install-ptest: Makefile; then