summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-09-07 18:31:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-09 14:25:09 +0100
commit56c5fa106eeccda2ca92dbeb73ff01ba40992e7d (patch)
treeaffcaf93323e51b943b724a088f2e48593268d2c
parente482f9bfddc6b710c9b566c3d3433dc2d7d5a22e (diff)
downloadopenembedded-core-contrib-56c5fa106eeccda2ca92dbeb73ff01ba40992e7d.tar.gz
openembedded-core-contrib-56c5fa106eeccda2ca92dbeb73ff01ba40992e7d.tar.bz2
openembedded-core-contrib-56c5fa106eeccda2ca92dbeb73ff01ba40992e7d.zip
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 <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/ptest.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass
index 2ac9143abe..f30f26afab 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