summaryrefslogtreecommitdiffstats
path: root/meta/classes/ptest.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-09-07 17:31:39 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-09 13:27:55 (GMT)
commitdae69e6dcfa177844bb41a156b1bab091db3f1e7 (patch)
tree6941fe364d349bd55d65ed1fd5a905d7ee69fe9a /meta/classes/ptest.bbclass
parent9bfaf596fb349ba6b3ad7f6f65cd646259233bdc (diff)
downloadpoky-dae69e6dcfa177844bb41a156b1bab091db3f1e7.tar.gz
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. (From OE-Core rev: 56c5fa106eeccda2ca92dbeb73ff01ba40992e7d) 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.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass
index 2ac9143..f30f26a 100644
--- a/meta/classes/ptest.bbclass
+++ b/meta/classes/ptest.bbclass
@@ -36,7 +36,7 @@ do_install_ptest() {
36 : 36 :
37} 37}
38 38
39do_install_ptest_base() { 39fakeroot do_install_ptest_base() {
40 if [ -f ${WORKDIR}/run-ptest ]; then 40 if [ -f ${WORKDIR}/run-ptest ]; then
41 install -D ${WORKDIR}/run-ptest ${D}${PTEST_PATH}/run-ptest 41 install -D ${WORKDIR}/run-ptest ${D}${PTEST_PATH}/run-ptest
42 if grep -q install-ptest: Makefile; then 42 if grep -q install-ptest: Makefile; then