Remove duplicate user/group definition 05/11705/6
authorRonan Le Martret <ronan@iot.bzh>
Tue, 7 Nov 2017 09:01:14 +0000 (10:01 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 7 Nov 2017 09:49:42 +0000 (09:49 +0000)
 * Fix build error
 * user must be define only once
 * user have default group "users:100"

 * Note: At the first Pyro release, the option "--user-group" was
  always true (it was an untrack issue) for useradd yocto function.
  "user_group = uaargs.user_group is None or uaargs.user_group is True"
  and so force to create a group with the same name as the user.
  (Because we use a group name and not a gid).
  So at first create a custom group for each user solve the issue,
  but it's not the good solution.

    ** This issue was Fix upstream in:
        Poky:7ca04fef1b324b7fc6e8c5bbddcd41617cc5e5c6

Bug-AGL: SPEC-1053

Change-Id: Idfe5f07216741f1cfffdbcc4711d08f66f73bd79
Signed-off-by: Ronan Le Martret <ronan@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11705
Reviewed-by: ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl/files/group
meta-agl/files/passwd

index f84d528..dee2ad9 100644 (file)
@@ -84,5 +84,3 @@ opensaf::957:
 lldpd::956:
 postdrop::954:
 display::200:
-agl-driver::1200:
-agl-passenger::1201:
index 28ba5bd..c992e52 100644 (file)
@@ -56,5 +56,3 @@ opensaf::957:957:::
 lldpd::956:956:::
 cyrus::955:8:::
 display::200:200:::
-agl-driver::1200:1200:::
-agl-passenger::1201:1201:::