summaryrefslogtreecommitdiffstats
path: root/recipes-config/agl-users/agl-users_agl-container-guest-demo.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-config/agl-users/agl-users_agl-container-guest-demo.inc')
-rw-r--r--recipes-config/agl-users/agl-users_agl-container-guest-demo.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-config/agl-users/agl-users_agl-container-guest-demo.inc b/recipes-config/agl-users/agl-users_agl-container-guest-demo.inc
new file mode 100644
index 000000000..cb21d079b
--- /dev/null
+++ b/recipes-config/agl-users/agl-users_agl-container-guest-demo.inc
@@ -0,0 +1,10 @@
+# Allow input device for agl-driver
+GROUPADD_PARAM:${PN} = "\
+ --system video ; \
+ --system input ; \
+ --system pipewire ; \
+ -g 1001 agl-driver ; \
+"
+USERADD_PARAM:${PN} = "\
+ -g 1001 -u 1001 -G video,input,pipewire -o -d /home/agl-driver -m -K PASS_MAX_DAYS=-1 agl-driver ; \
+"