summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/agl-compositor-init-agl-container-guest
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2023-08-27 15:11:41 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-09-04 13:07:00 +0000
commit2d399c18c9ea60230ee1e19d9a52f240c56a008b (patch)
treed5af9c5ea768f885ea602fe8eedc3c355c6416d5 /recipes-graphics/wayland/agl-compositor-init-agl-container-guest
parent8d3e2e1610ddd72c83631bc1afdb3c2a08a01612 (diff)
Fix service file of agl-compositor for guest integration
After the commit 4b4c0f15d1d2a52e636aa22e56cf864d1a8a656b1 of meta-agl, AGL Demo IVI based container guest was not showing display. The container guest need to drop tty dependency. Before that commit, agl-compositore did not have tty dependency. But that commit added new systemd service file, it has tty dependency. This patch re-remove tty dependency from agl-compositor. Bug-AGL: SPEC-4888 Change-Id: I485041b19b89f06df5c26a557546dfd7d8ecaa73 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29172 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'recipes-graphics/wayland/agl-compositor-init-agl-container-guest')
-rw-r--r--recipes-graphics/wayland/agl-compositor-init-agl-container-guest/agl-compositor-guest.conf14
-rw-r--r--recipes-graphics/wayland/agl-compositor-init-agl-container-guest/agl-compositor.conf4
2 files changed, 14 insertions, 4 deletions
diff --git a/recipes-graphics/wayland/agl-compositor-init-agl-container-guest/agl-compositor-guest.conf b/recipes-graphics/wayland/agl-compositor-init-agl-container-guest/agl-compositor-guest.conf
new file mode 100644
index 000000000..b98108edc
--- /dev/null
+++ b/recipes-graphics/wayland/agl-compositor-init-agl-container-guest/agl-compositor-guest.conf
@@ -0,0 +1,14 @@
+# This is a system unit for launching AGL compositor in container guest.
+# Need to drop tty dependency.
+[Unit]
+ConditionPathExists=
+
+[Service]
+TTYPath=
+TTYReset=
+TTYVHangup=
+TTYVTDisallocate=
+
+StandardInput=null
+
+UtmpIdentifier=
diff --git a/recipes-graphics/wayland/agl-compositor-init-agl-container-guest/agl-compositor.conf b/recipes-graphics/wayland/agl-compositor-init-agl-container-guest/agl-compositor.conf
deleted file mode 100644
index 0ff470552..000000000
--- a/recipes-graphics/wayland/agl-compositor-init-agl-container-guest/agl-compositor.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-[Unit]
-
-[Service]
-Environment=XDG_SESSION_TYPE=wayland