[oe-commits] Ross Burton : ptest: use fakeroot for do_install_ptest_base
git at git.openembedded.org
git at git.openembedded.org
Tue Sep 8 22:56:26 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: e4bec80b89a661c42c2c575180afa07a806df666
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e4bec80b89a661c42c2c575180afa07a806df666
Author: Ross Burton <ross.burton at intel.com>
Date: Mon Sep 7 18:31:39 2015 +0100
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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/ptest.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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() {
:
}
-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
More information about the Openembedded-commits
mailing list