diff options
author | Ross Burton <ross.burton@intel.com> | 2015-09-07 18:31:39 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-09 14:25:09 +0100 |
commit | 56c5fa106eeccda2ca92dbeb73ff01ba40992e7d (patch) | |
tree | affcaf93323e51b943b724a088f2e48593268d2c /meta/classes/ptest.bbclass | |
parent | e482f9bfddc6b710c9b566c3d3433dc2d7d5a22e (diff) | |
download | openembedded-core-56c5fa106eeccda2ca92dbeb73ff01ba40992e7d.tar.gz openembedded-core-56c5fa106eeccda2ca92dbeb73ff01ba40992e7d.tar.bz2 openembedded-core-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>
Diffstat (limited to 'meta/classes/ptest.bbclass')
-rw-r--r-- | meta/classes/ptest.bbclass | 2 |
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 |