agl-users: remove display user 33/26833/1
authorScott Murray <scott.murray@konsulko.com>
Thu, 4 Nov 2021 18:45:50 +0000 (14:45 -0400)
committerScott Murray <scott.murray@konsulko.com>
Thu, 4 Nov 2021 18:45:50 +0000 (14:45 -0400)
The "display" user has effectively been replaced with a "weston"
user in the new weston-init support for running as non-root from
upstream Yocto, so remove creation of it from the agl-users recipe.
If the agl-users recipe will be retained in the new application
scheme, this cleanup is required.

Bug-AGL: SPEC-4121

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iafd7a08dfd7ba3514ef4264c68d697cfd9790047

recipes-config/agl-users/agl-users_0.1.bb

index a1473a8..d5c0e95 100644 (file)
@@ -14,8 +14,6 @@ USERADD_PACKAGES = "${PN}"
 USERADDEXTENSION = "useradd-staticids"
 
 GROUPADD_PARAM:${PN} = "\
-       --system display ; \
-       --system weston-launch ; \
        -g 1001 agl-driver ; \
        -g 1002 agl-passenger \
 "
@@ -23,5 +21,4 @@ GROUPADD_PARAM:${PN} = "\
 USERADD_PARAM:${PN} = "\
   -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 \
 "