add fakeroot to aglwgt_deploy task
authorRonan <ronan.lemartret@iot.bzh>
Mon, 2 Jan 2017 16:10:24 +0000 (17:10 +0100)
committerStephane Desneux <stephane.desneux@iot.bzh>
Mon, 27 Mar 2017 13:33:39 +0000 (15:33 +0200)
 * 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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
meta-app-framework/classes/aglwgt.bbclass

index 97fb6ff..94f75f2 100644 (file)
@@ -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/
 do_aglwgt_deploy() {
         install -d ${D}/usr/AGL/apps
         install -m 0644 ${B}/package/*.wgt ${D}/usr/AGL/apps/