aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-graphical/classes/agl-graphical.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-profile-graphical/classes/agl-graphical.bbclass')
-rw-r--r--meta-agl-profile-graphical/classes/agl-graphical.bbclass7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-agl-profile-graphical/classes/agl-graphical.bbclass b/meta-agl-profile-graphical/classes/agl-graphical.bbclass
new file mode 100644
index 000000000..0004d9c1a
--- /dev/null
+++ b/meta-agl-profile-graphical/classes/agl-graphical.bbclass
@@ -0,0 +1,7 @@
+WESTONTTY ??= "1"
+WESTONUSER ??= "display"
+WESTONGROUP ??= "display"
+WESTONARGS ?= "--idle-time=0 --tty=${WESTONTTY} ${@bb.utils.contains("DISTRO_FEATURES", "gst-record", "--gst-record", "",d)}"
+WESTONLAUNCHARGS ??= "--tty /dev/tty${WESTONTTY} --user ${WESTONUSER}"
+DISPLAY_XDG_RUNTIME_DIR ??= "/run/platform/${WESTONUSER}"
+