From dfd78e0100e23391b1a3d74e639940a1efee7474 Mon Sep 17 00:00:00 2001 From: Ronan Date: Mon, 2 Jan 2017 17:10:24 +0100 Subject: add fakeroot to aglwgt_deploy task * we need to have pseudo env when we deploy agl app, if not developer id is use instead of pseudo id (root), and a QA issue is rise "host contamination". BB-must-fix Change-Id: I65c61cf1f5318b9cb9afe942da662863389f28b9 Signed-off-by: Ronan Signed-off-by: Stephane Desneux --- meta-app-framework/classes/aglwgt.bbclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-app-framework') diff --git a/meta-app-framework/classes/aglwgt.bbclass b/meta-app-framework/classes/aglwgt.bbclass index 97fb6ff8d..94f75f2a7 100644 --- a/meta-app-framework/classes/aglwgt.bbclass +++ b/meta-app-framework/classes/aglwgt.bbclass @@ -26,6 +26,10 @@ do_aglwgt_package() { ) } +python () { + d.setVarFlag('do_aglwgt_deploy', 'fakeroot', '1') +} + do_aglwgt_deploy() { install -d ${D}/usr/AGL/apps install -m 0644 ${B}/package/*.wgt ${D}/usr/AGL/apps/ -- cgit 1.2.3-korg