From: Marius Vlad Date: Wed, 23 Mar 2022 11:58:49 +0000 (+0100) Subject: html5-homescreen: increase wait for attempting to launch homescreen X-Git-Tag: 13.0.0~5 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=278b0e2cc34b5e243b9e4a9e2a7bd50b5679345f;p=AGL%2Fmeta-agl-demo.git html5-homescreen: increase wait for attempting to launch homescreen Reduce chances to fail initialization of HTML5-based UI on boot, because of trying to launch homescreen while WAM is still not ready to create applications. This is a workaround. The right fix will be making WAM actually wait for processing IPC messages while it is not ready to launch first application, and making homescreen wait for the initialization of host service. Bug-AGL: SPEC-4289 Signed-off-by: Jose Dapena Paz Signed-off-by: Marius Vlad Change-Id: Id46f87b6ac2d49b0a15d5537b8b70d4ac6e62ef5 --- diff --git a/recipes-demo/html5-homescreen/files/homescreen.service b/recipes-demo/html5-homescreen/files/homescreen.service index 20ed2ee13..80bc44ee6 100644 --- a/recipes-demo/html5-homescreen/files/homescreen.service +++ b/recipes-demo/html5-homescreen/files/homescreen.service @@ -7,7 +7,7 @@ After=WebAppMgr.service dbus.service Type=simple Environment=AFM_ID=homescreen Environment=AFM_APP_INSTALL_DIR=/usr/lib/wam_apps/html5-homescreen/ -ExecStartPre=sleep 1 +ExecStartPre=sleep 5 ExecStart=/usr/bin/WebAppMgr Restart=on-failure