The group display protects accesses to display
resources. When running as user, it should not be acquired
by default but on need.
Bug-AGL: SPEC-2006
Change-Id: I7c188720e5cfcb65f02af25d0e4262f59300d16a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
"
USERADD_PARAM_${PN} = "\
"
USERADD_PARAM_${PN} = "\
- -g 1001 -G display -u 1001 -o -d /home/1001 -m -K PASS_MAX_DAYS=-1 agl-driver ; \
- -g 1002 -G display -u 1002 -o -d /home/1002 -m -K PASS_MAX_DAYS=-1 agl-passenger ; \
+ -g 1001 -u 1001 -o -d /home/1001 -m -K PASS_MAX_DAYS=-1 agl-driver ; \
+ -g 1002 -u 1002 -o -d /home/1002 -m -K PASS_MAX_DAYS=-1 agl-passenger ; \
--gid display --groups weston-launch,video,input --home-dir /run/platform/display --shell /bin/false --comment \"Display daemon\" --key PASS_MAX_DAYS=-1 display \
"
--gid display --groups weston-launch,video,input --home-dir /run/platform/display --shell /bin/false --comment \"Display daemon\" --key PASS_MAX_DAYS=-1 display \
"
After=weston.service
[Service]
After=weston.service
[Service]
+SupplementaryGroups=display
Environment="XDG_RUNTIME_DIR=/run/platform/display"
ExecStart=/usr/bin/weston-ready -t 10
Type=oneshot
Environment="XDG_RUNTIME_DIR=/run/platform/display"
ExecStart=/usr/bin/weston-ready -t 10
Type=oneshot