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-04-23 05:21:11 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-06-02 09:06:53 +0000
commit4922574f29ffef9341177b394a350bd054e20a68 (patch)
tree5abb9d3bc912c2cd16ee1d5aeb2b891509905e33 /recipes-graphics/wayland/agl-compositor-init-agl-container-guest
parent33c44b08bd6bdb9eed208c49c4a8ff38ce5f3ae1 (diff)
Overwrite agl-compositor-init setting to become adopt guest container
When existing agl demo integrate to container guest, need to overwrite agl-compositor-init setting. - Remove real tty device dependency. - Adjust drm lease setting from default. This patch realize this overwrite method in case of container guest. Bug-AGL: SPEC-4766 Change-Id: If3acc66a2836d7ab78e408b14931126071e3d32c Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
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.conf4
-rw-r--r--recipes-graphics/wayland/agl-compositor-init-agl-container-guest/agl-compositor.env2
2 files changed, 6 insertions, 0 deletions
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
new file mode 100644
index 000000000..0ff470552
--- /dev/null
+++ b/recipes-graphics/wayland/agl-compositor-init-agl-container-guest/agl-compositor.conf
@@ -0,0 +1,4 @@
+[Unit]
+
+[Service]
+Environment=XDG_SESSION_TYPE=wayland
diff --git a/recipes-graphics/wayland/agl-compositor-init-agl-container-guest/agl-compositor.env b/recipes-graphics/wayland/agl-compositor-init-agl-container-guest/agl-compositor.env
new file mode 100644
index 000000000..d817effa6
--- /dev/null
+++ b/recipes-graphics/wayland/agl-compositor-init-agl-container-guest/agl-compositor.env
@@ -0,0 +1,2 @@
+DLM_RUNTIME_PATH=/var/display/drm-lease-manager
+DRM_LEASE_DEVICE=lease