aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-agl-core/files/group1
-rw-r--r--meta-app-framework/recipes-config/agl-session/agl-session_0.1.bb4
2 files changed, 4 insertions, 1 deletions
diff --git a/meta-agl-core/files/group b/meta-agl-core/files/group
index f52448920..b04ff377b 100644
--- a/meta-agl-core/files/group
+++ b/meta-agl-core/files/group
@@ -86,6 +86,7 @@ lldpd::956:
postdrop::954:
weston::200:
wayland::201:
+display::202:
agl-driver::1001:
agl-passenger::1002:
systemd-network::1005:
diff --git a/meta-app-framework/recipes-config/agl-session/agl-session_0.1.bb b/meta-app-framework/recipes-config/agl-session/agl-session_0.1.bb
index 696533383..dc7b5bee7 100644
--- a/meta-app-framework/recipes-config/agl-session/agl-session_0.1.bb
+++ b/meta-app-framework/recipes-config/agl-session/agl-session_0.1.bb
@@ -13,10 +13,12 @@ inherit systemd allarch useradd
USERADD_PACKAGES = "${PN}"
USERADDEXTENSION = "useradd-staticids"
GROUPADD_PARAM:${PN} = "\
+ --system display ; \
+ --system video ; \
-g 1001 agl-driver ; \
"
USERADD_PARAM:${PN} = "\
- -g 1001 -u 1001 -o -d /home/agl-driver -m -K PASS_MAX_DAYS=-1 agl-driver ; \
+ -g 1001 -u 1001 -G video,display -o -d /home/agl-driver -m -K PASS_MAX_DAYS=-1 agl-driver ; \
"
SYSTEMD_PACKAGES = "${PN}"