wam: add user setup script/service 69/25969/1 10.93.0 koi/10.93.0 koi_10.93.0
authorScott Murray <scott.murray@konsulko.com>
Wed, 27 Jan 2021 20:35:56 +0000 (15:35 -0500)
committerScott Murray <scott.murray@konsulko.com>
Wed, 27 Jan 2021 21:29:46 +0000 (16:29 -0500)
commit6195e3941ed7af426d5a92015c4d2658a9406895
treef9fb4d86134eb7331fdb54090c4b5d53d1b5ca68
parentf5e746f02956f8dc2cd480dd9ae9c0d7ad833b2c
wam: add user setup script/service

Add a per-user setup script, systemd unit to run it, and add the
unit as a dependency of systemd's user-runtime-dir@.service so it
will be run before the user services on each boot.  This should
fix the various permission issues currently being seen with WAM
startup.

Bug-AGL: SPEC-3781

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie45b43a39530c23439332cdcd7f4550c9f6fc23c
recipes-wam/wam/files/wam-user-setup.sh [new file with mode: 0755]
recipes-wam/wam/files/wam-user-setup@.service [new file with mode: 0644]
recipes-wam/wam/wam_git.bb