summaryrefslogtreecommitdiffstats
path: root/meta-agl-rdp/recipes-graphics/wayland/weston-ini-conf.bbappend
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-06-14 19:49:04 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-06-14 21:34:51 +0000
commit405183531725ec7ed27985bc62e2804658b4e3d0 (patch)
tree501adbe2feb3fc411576c3e74268430546cd0860 /meta-agl-rdp/recipes-graphics/wayland/weston-ini-conf.bbappend
parent38c4474d8477d7408e97e64d2429f9330aee3c67 (diff)
Add generic graphic output over rdp
This option enables an rdp server for one primary display. It is intended to be used e.g. with the aws-ec2-x86-64 or aws-ec2-arm64 machines in the first place but can be useful for debugging purposes for local setup as well. Bug-AGL: SPEC-5093 Change-Id: I2659628d389080ba382da3c7e5ec1286c2ed1286 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-rdp/recipes-graphics/wayland/weston-ini-conf.bbappend')
-rw-r--r--meta-agl-rdp/recipes-graphics/wayland/weston-ini-conf.bbappend15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-agl-rdp/recipes-graphics/wayland/weston-ini-conf.bbappend b/meta-agl-rdp/recipes-graphics/wayland/weston-ini-conf.bbappend
new file mode 100644
index 00000000..e385c50d
--- /dev/null
+++ b/meta-agl-rdp/recipes-graphics/wayland/weston-ini-conf.bbappend
@@ -0,0 +1,15 @@
+FILESEXTRAPATHS:prepend:agl-rdp := "${THISDIR}/${PN}:"
+
+SRC_URI:prepend:agl-rdp = " file://rdp-standalone.cfg "
+
+WESTON_DISPLAYS:agl-rdp = " "
+WESTON_FRAGMENTS:agl-rdp = " rdp-standalone "
+
+# sample keys
+AGL_FREERDP_DEFAULT_KEYS ?= "agl-freerdp-sample-server-key"
+AGL_FREERDP_DEPENDENCY ?= "${AGL_FREERDP_DEFAULT_KEYS}"
+RDEPENDS:${PN}:append:agl-rdp = " ${AGL_FREERDP_DEPENDENCY} "
+
+# the key tools need to be on-target (for now)
+RDEPENDS:${PN}:agl-rdp += " freerdp "
+