summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/classes
diff options
context:
space:
mode:
authorRonan <ronan.lemartret@iot.bzh>2017-01-02 17:10:24 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-01-02 18:02:07 +0000
commit3ed0b9525d48d1894ff917a1e37fd2e14840677a (patch)
tree01a5d81b0d3ee2f58098bbe23e6c97f8be657988 /meta-app-framework/classes
parentc122a0671d0a35c799c0489863a478833d901f75 (diff)
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 <ronan.lemartret@iot.bzh> (cherry picked from commit f518d36a1be6eb77c9ae1d0d553f45a11c16690e)
Diffstat (limited to 'meta-app-framework/classes')
-rw-r--r--meta-app-framework/classes/aglwgt.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-app-framework/classes/aglwgt.bbclass b/meta-app-framework/classes/aglwgt.bbclass
index 97fb6ff..94f75f2 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/