diff options
author | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2021-10-10 12:07:50 +0900 |
---|---|---|
committer | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2021-11-22 15:34:45 +0900 |
commit | ca3c1d2ca22b38885d149664728a6a0c9f8d083b (patch) | |
tree | 420ed7b9f38a6bb5eecd184035dfdfcfca5b0c62 | |
parent | ef1223062aa6c40c50d0ce127427fdccc2fe5e3d (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
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 |