From 63e0ea358f1902b1dd9968b21b5eea649d04329e Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Thu, 27 Jun 2024 12:46:02 +0000 Subject: Move html5 demo into sublayer The HTML5 demo needs additional fixes. Move it into a sublayer and activate with agl-demo-html5. Bug-AGL: SPEC-5188 Change-Id: I2f1a07dcfbcaf7e09d4d0d3aec1aa8f096336287 Signed-off-by: Jan-Simon Moeller Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30042 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Scott Murray ci-image-boot-test: Jenkins Job builder account --- .../html5-homescreen/files/homescreen.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-agl-html5-demo/recipes-demo/html5-homescreen/files/homescreen.service (limited to 'meta-agl-html5-demo/recipes-demo/html5-homescreen/files/homescreen.service') diff --git a/meta-agl-html5-demo/recipes-demo/html5-homescreen/files/homescreen.service b/meta-agl-html5-demo/recipes-demo/html5-homescreen/files/homescreen.service new file mode 100644 index 00000000..b8d34caa --- /dev/null +++ b/meta-agl-html5-demo/recipes-demo/html5-homescreen/files/homescreen.service @@ -0,0 +1,16 @@ +[Unit] +Description=AGL Homescreen +Requires=WebAppMgr.service dbus.service +After=WebAppMgr.service dbus.service + +[Service] +Type=simple +User=agl-driver +EnvironmentFile=-/etc/default/WebAppMgr.env +Environment=XDG_RUNTIME_DIR=/run/user/1001/ +ExecStartPre=sleep 5 +ExecStart=/usr/bin/WebAppMgrCli --appid=homescreen --app-install-dir=/usr/lib/wam_apps/html5-homescreen/ +Restart=on-failure + +[Install] +WantedBy=graphical.target -- cgit 1.2.3-korg