From 83c248ad5c477cbe9ac5e46923b42dadfa68c6b0 Mon Sep 17 00:00:00 2001 From: Damian Hobson-Garcia Date: Tue, 9 Mar 2021 17:22:26 +0900 Subject: drm-lease: Disable weston TTY switch When running multiple instances of weston using the drm-backend, TTY switching should be disabled, so that both instances can be displayed at the same time. Backport patches from weston upstream that will disable TTY switching when either: * Any seat other than seat0 is used (multi-seat) * There are no real TTY devices available (often true when running in a container) Also, modify the layer priority and SRC_URI append style to make these patches apply after the AGL appfw layer to avoid patch fuzz warnings during build. Bug-AGL: SPEC-3730 Change-Id: Ie9bed50b1c3f60129b1efae95aa77bfcea45f568 Signed-off-by: Damian Hobson-Garcia --- meta-agl-drm-lease/recipes-graphics/weston/weston_8.0.0.bbappend | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta-agl-drm-lease/recipes-graphics/weston/weston_8.0.0.bbappend') diff --git a/meta-agl-drm-lease/recipes-graphics/weston/weston_8.0.0.bbappend b/meta-agl-drm-lease/recipes-graphics/weston/weston_8.0.0.bbappend index 97de8c62..74ee94c1 100644 --- a/meta-agl-drm-lease/recipes-graphics/weston/weston_8.0.0.bbappend +++ b/meta-agl-drm-lease/recipes-graphics/weston/weston_8.0.0.bbappend @@ -1,7 +1,10 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -SRC_URI += "file://0001-backend-drm-Add-method-to-import-DRM-fd.patch \ +SRC_URI_append = " \ + file://0001-backend-drm-Add-method-to-import-DRM-fd.patch \ file://0002-Add-DRM-lease-support.patch \ + file://0003-launcher-do-not-touch-VT-tty-while-using-non-default.patch \ + file://0004-launcher-direct-handle-seat0-without-VTs.patch \ " PACKAGECONFIG[drm-lease] = "-Ddrm-lease=true,-Ddrm-lease=false,drm-lease-manager" -- cgit 1.2.3-korg