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:
parent
9bfaf596fb
commit
dae69e6dcf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue