summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/weston-ini-conf
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-11-23 15:30:14 -0500
committerScott Murray <scott.murray@konsulko.com>2022-11-23 15:30:14 -0500
commit6e5c561e962d0b900b8f6225f27467a193c43dee (patch)
treec4f468d95c0bd5050ad3433f55207827edd2fd41 /recipes-graphics/wayland/weston-ini-conf
parent7eb48d9680b5451d2ce6ca6994cd290dbf599cb6 (diff)
weston-ini-conf: rework to add KVM host version
Add a canned weston.ini template and install it with the appropriate guest VM app ids as weston-ini-conf-kvm. The guest VM images/ids can be overriden with the variables GUEST_VM1_IMAGE and GUEST_VM2_IMAGE (from e.g. site.conf). Bug-AGL: SPEC-4618 Change-Id: I053a956fd5af78b13095f15b6e6c40e81a0ff0c9 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'recipes-graphics/wayland/weston-ini-conf')
-rw-r--r--recipes-graphics/wayland/weston-ini-conf/weston.ini.kvm.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-graphics/wayland/weston-ini-conf/weston.ini.kvm.in b/recipes-graphics/wayland/weston-ini-conf/weston.ini.kvm.in
new file mode 100644
index 00000000..79ca30cd
--- /dev/null
+++ b/recipes-graphics/wayland/weston-ini-conf/weston.ini.kvm.in
@@ -0,0 +1,18 @@
+[core]
+backend=drm-backend.so
+require-input=false
+modules=systemd-notify.so
+
+[shell]
+locking=true
+panel-position=none
+
+# A display is connected to HDMI-A-1
+[output]
+name=HDMI-A-1
+agl-shell-app-id=@GUEST_VM1_IMAGE@
+
+# A display is connected to HDMI-A-2
+[output]
+name=HDMI-A-2
+agl-shell-app-id=@GUEST_VM2_IMAGE@