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>
This commit is contained in:
Ross Burton 2015-09-07 18:31:39 +01:00 committed by Richard Purdie
parent 9bfaf596fb
commit dae69e6dcf
1 changed files with 1 additions and 1 deletions

View File

@ -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