drm-lease: Disable weston TTY switch 81/26181/3
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>
Tue, 9 Mar 2021 08:22:26 +0000 (17:22 +0900)
committerDamian Hobson-Garcia <dhobsong@igel.co.jp>
Wed, 17 Mar 2021 09:39:37 +0000 (18:39 +0900)
commit83c248ad5c477cbe9ac5e46923b42dadfa68c6b0
treee670d3cbe8fae903f3c78e92f3f6796e978aa69d
parent3d7b404d4e6a02f05a5c1d39a16a096b37cc506a
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 <dhobsong@igel.co.jp>
meta-agl-drm-lease/conf/layer.conf
meta-agl-drm-lease/recipes-graphics/weston/weston/0003-launcher-do-not-touch-VT-tty-while-using-non-default.patch [new file with mode: 0644]
meta-agl-drm-lease/recipes-graphics/weston/weston/0004-launcher-direct-handle-seat0-without-VTs.patch [new file with mode: 0644]
meta-agl-drm-lease/recipes-graphics/weston/weston_8.0.0.bbappend