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:27:55 +0100 |
commit | dae69e6dcfa177844bb41a156b1bab091db3f1e7 (patch) | |
tree | 6941fe364d349bd55d65ed1fd5a905d7ee69fe9a /meta/classes | |
parent | 9bfaf596fb349ba6b3ad7f6f65cd646259233bdc (diff) | |
download | poky-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')
-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() { | |||
36 | : | 36 | : |
37 | } | 37 | } |
38 | 38 | ||
39 | do_install_ptest_base() { | 39 | fakeroot 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 |