aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-config
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-config')
-rw-r--r--recipes-config/agl-session/agl-session_agl-container-guest-demo.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-config/agl-session/agl-session_agl-container-guest-demo.inc b/recipes-config/agl-session/agl-session_agl-container-guest-demo.inc
index c13abf50c..94a0b9003 100644
--- a/recipes-config/agl-session/agl-session_agl-container-guest-demo.inc
+++ b/recipes-config/agl-session/agl-session_agl-container-guest-demo.inc
@@ -1 +1,15 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/agl-container-guest:"
+
+# Allow input device for agl-driver
+GROUPADD_PARAM:${PN} = "\
+ --system display ; \
+ --system video ; \
+ --system input ; \
+ --system pipewire ; \
+ -g 1001 agl-driver ; \
+ -g 1003 applaunchd ; \
+"
+USERADD_PARAM:${PN} = "\
+ -g 1001 -u 1001 -G video,input,display,pipewire,applaunchd -o -d /home/agl-driver -m -K PASS_MAX_DAYS=-1 agl-driver ; \
+ -g 1003 -u 1003 -o -d / -K PASS_MAX_DAYS=-1 applaunchd ; \
+"