summaryrefslogtreecommitdiffstats
path: root/recipes-config/agl-users
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-config/agl-users')
-rw-r--r--recipes-config/agl-users/agl-users_%.bbappend1
-rw-r--r--recipes-config/agl-users/agl-users_agl-container-guest-demo.inc10
2 files changed, 11 insertions, 0 deletions
diff --git a/recipes-config/agl-users/agl-users_%.bbappend b/recipes-config/agl-users/agl-users_%.bbappend
new file mode 100644
index 000000000..7ed894f04
--- /dev/null
+++ b/recipes-config/agl-users/agl-users_%.bbappend
@@ -0,0 +1 @@
+require ${@bb.utils.contains('AGL_FEATURES', 'agl-container-guest-demo', 'agl-users_agl-container-guest-demo.inc', '', d)}
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 ; \
+"