weston-init: add user 'weston' to group 'disk'

This allows the user 'weston', which is running the video
backend, to access files on external media, such as USB
disks and microSD card.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-8208
This commit is contained in:
Hector Palacios 2022-11-28 10:55:28 +01:00
parent 70a3a11a44
commit b689755778
1 changed files with 1 additions and 1 deletions

View File

@ -95,5 +95,5 @@ do_install:append:stm32mpcommon() {
SYSTEMD_SERVICE:${PN}:remove = "weston.service weston.socket"
SYSTEMD_SERVICE:${PN} += "weston-launch.service weston-checkgpu.service"
#inherit useradd
USERADD_PARAM:${PN} = "--home /home/weston --shell /bin/sh --user-group -G video,input,tty,audio,weston-launch,dialout weston"
USERADD_PARAM:${PN} = "--home /home/weston --shell /bin/sh --user-group -G video,input,tty,audio,weston-launch,dialout,disk weston"
GROUPADD_PARAM:${PN} = "-r weston-launch; -r wayland"