diff options
author | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2023-05-06 19:17:09 +0900 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2023-06-02 09:06:53 +0000 |
commit | 7ac9e5cfbcc9dc8c2e37dee16c07d82c29600efa (patch) | |
tree | 8ca0202ba6c2d6949ca5c6d5010144e8ccad5c9f /recipes-config/agl-session | |
parent | abf37f753defbf11f954176cdec3bce26c98efaa (diff) |
Override group setting for agl-driver
In container integration case, a common group between host
and guest shall use static groups. AGL Demo IVI run
agl-compositor using agl-driver user and group.
The agl-driver doesn't have input group.
This patch add agl-driver to input group.
Bug-AGL: SPEC-4766
Change-Id: I4dddd6096a780c120509518a02cc77736f1dd38d
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Diffstat (limited to 'recipes-config/agl-session')
-rw-r--r-- | recipes-config/agl-session/agl-session_agl-container-guest-demo.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-config/agl-session/agl-session_agl-container-guest-demo.inc b/recipes-config/agl-session/agl-session_agl-container-guest-demo.inc index c13abf50c..94a0b9003 100644 --- a/recipes-config/agl-session/agl-session_agl-container-guest-demo.inc +++ b/recipes-config/agl-session/agl-session_agl-container-guest-demo.inc @@ -1 +1,15 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/agl-container-guest:" + +# Allow input device for agl-driver +GROUPADD_PARAM:${PN} = "\ + --system display ; \ + --system video ; \ + --system input ; \ + --system pipewire ; \ + -g 1001 agl-driver ; \ + -g 1003 applaunchd ; \ +" +USERADD_PARAM:${PN} = "\ + -g 1001 -u 1001 -G video,input,display,pipewire,applaunchd -o -d /home/agl-driver -m -K PASS_MAX_DAYS=-1 agl-driver ; \ + -g 1003 -u 1003 -o -d / -K PASS_MAX_DAYS=-1 applaunchd ; \ +" |