aboutsummaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-config/agl-session/agl-session_0.1.bb
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2021-12-21 18:37:36 -0500
committerScott Murray <scott.murray@konsulko.com>2021-12-22 04:07:19 +0000
commit15f6be527e8c54f6695345554bbbf4500b5a83e8 (patch)
treed82830474fc9000870c0c7d6426045c5b078b0b4 /meta-app-framework/recipes-config/agl-session/agl-session_0.1.bb
parentd3cca1280cf96aec035fa686ba273bb7c5f2dbd7 (diff)
meta-app-framework: tweak agl-driver definition
Tweak agl-driver user definition in agl-session recipe to ensure it is a member of the video and display groups (the latter has been added back to the static group file). This is required to avoid agl-compositor startup failures on rcar3. The display group membership potentially could be dropped if we were to bbappend rcar3's gles-user-module recipe to tweak its udev rules. For now, take the most straightforward approach. Bug-AGL: SPEC-4161 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7237ade5d8680655f17716ac048349a476eb5f29 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27060 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
Diffstat (limited to 'meta-app-framework/recipes-config/agl-session/agl-session_0.1.bb')
-rw-r--r--meta-app-framework/recipes-config/agl-session/agl-session_0.1.bb4
1 files changed, 3 insertions, 1 deletions
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}"