summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2021-10-10 12:07:50 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2021-11-16 20:34:12 +0000
commit1cd31d0e6295729982f26e719f605a52a5cd17be (patch)
tree25e5a88cc2b042ab3d08d5385af7d9f3b3d34e1c
parent2a78ef2ac8403b3f86a3c077d20b43eeb16c295e (diff)
Fix boot up issue for guest apps
The mominavi and momiplay have boot up issue such as service dependency and environment variable. This patch fix this issue. Bug-AGL: SPEC-4099 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Ia276c40e47a010bc2f93482aa0be5ce7416642d8
-rw-r--r--meta-agl-lxc/recipes-demo/mominavi/mominavi/mominavi2
-rw-r--r--meta-agl-lxc/recipes-demo/mominavi/mominavi/mominavi.service3
-rw-r--r--meta-agl-lxc/recipes-demo/momiplay/momiplay/momiplay2
-rw-r--r--meta-agl-lxc/recipes-demo/momiplay/momiplay/momiplay.service3
4 files changed, 6 insertions, 4 deletions
diff --git a/meta-agl-lxc/recipes-demo/mominavi/mominavi/mominavi b/meta-agl-lxc/recipes-demo/mominavi/mominavi/mominavi
index 4edc8669..06d55f3a 100644
--- a/meta-agl-lxc/recipes-demo/mominavi/mominavi/mominavi
+++ b/meta-agl-lxc/recipes-demo/mominavi/mominavi/mominavi
@@ -1,4 +1,4 @@
-#XDG_RUNTIME_DIR=
+XDG_RUNTIME_DIR=/run/user/0
QT_QPA_PLATFORM=wayland-egl
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
QT_QPA_FONTDIR=/usr/share/fonts/truetype
diff --git a/meta-agl-lxc/recipes-demo/mominavi/mominavi/mominavi.service b/meta-agl-lxc/recipes-demo/mominavi/mominavi/mominavi.service
index 857269a3..4dcba06b 100644
--- a/meta-agl-lxc/recipes-demo/mominavi/mominavi/mominavi.service
+++ b/meta-agl-lxc/recipes-demo/mominavi/mominavi/mominavi.service
@@ -1,6 +1,7 @@
[Unit]
Description=mominavi
-After=multi-user.target
+After=multi-user.target weston.service
+Requires=multi-user.target weston.service
[Service]
Type=simple
diff --git a/meta-agl-lxc/recipes-demo/momiplay/momiplay/momiplay b/meta-agl-lxc/recipes-demo/momiplay/momiplay/momiplay
index 4b855a1e..097ceb73 100644
--- a/meta-agl-lxc/recipes-demo/momiplay/momiplay/momiplay
+++ b/meta-agl-lxc/recipes-demo/momiplay/momiplay/momiplay
@@ -1,4 +1,4 @@
-#XDG_RUNTIME_DIR=
+XDG_RUNTIME_DIR=/run/user/0
QT_QPA_PLATFORM=wayland-egl
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
QT_QPA_FONTDIR=/usr/share/fonts/truetype
diff --git a/meta-agl-lxc/recipes-demo/momiplay/momiplay/momiplay.service b/meta-agl-lxc/recipes-demo/momiplay/momiplay/momiplay.service
index e8fa2afe..ef974023 100644
--- a/meta-agl-lxc/recipes-demo/momiplay/momiplay/momiplay.service
+++ b/meta-agl-lxc/recipes-demo/momiplay/momiplay/momiplay.service
@@ -1,6 +1,7 @@
[Unit]
Description=momiplayer
-After=multi-user.target
+After=multi-user.target weston.service
+Requires=multi-user.target weston.service
[Service]
Type=simple